Subject | RE: [ib-support] SUM + row_count |
---|---|
Author | Alan McDonald |
Post date | 2002-11-22T11:28:40Z |
select count(*) from FROM "table" where "col_2"="2"
> -----Original Message-----
> From: column@... [mailto:column@...]
> Sent: Friday, 22 November 2002 22:25
> To: ib-support@yahoogroups.com
> Subject: [ib-support] SUM + row_count
>
>
> Hi,
>
> What is SQL way to know how many rows was selected to make SUM in
> following
> situation:
>
> SELECT SUM("col_1") FROM "table" where "col_2"="2" INTO :"answer";
>
>
>
> To unsubscribe from this group, send an email to:
> ib-support-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>