| Article: |
SQL Subqueries | |
| Subject: | subqueries and group by | |
| Date: | 2005-09-16 10:21:39 | |
| From: | LadyReader | |
|
I have a SQL table that contains data accumulated over many months. I need to: 1) extract the rows from with a specified date range 2) consolidate the remaining rows where 2 of the fields both match 3) Sum up the contents of a 3rd field ("Qty") during that consolidation 4) select all fields, both summed and not, of the consolidated rows to import into a 2nd table.
|
||
Showing messages 1 through 1 of 1.
-
subqueries and group by
2006-02-06 12:47:48 subquires [View]


