Subject | SUM + row_count |
---|---|
Author | column@centras.lt |
Post date | 2002-11-22T11:24:59Z |
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";
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";