M
Maracay
Hi guys, I have this table (just one table)
Date, Category, Quantity-1, Quantity-2
01/02/08, 1,100
01/02/08, 1, 10
01/02/08, 2, 20
02/02/08, 1, 50
02/02/08, 1, 10
02/02/08, 2, 60
02/02/08, 2, 35
And so on……
I need this query
Date, Category-1, Category-2
01/02/08, 110, 20
02/02/08, 60, 95
Basically what I want is 1 record per day, and aggregates the quantities by
category for that day, but I want to place the aggregated quantities in 2
different columns since I want to use this query for a graphic.
Any help will be appreciated
Date, Category, Quantity-1, Quantity-2
01/02/08, 1,100
01/02/08, 1, 10
01/02/08, 2, 20
02/02/08, 1, 50
02/02/08, 1, 10
02/02/08, 2, 60
02/02/08, 2, 35
And so on……
I need this query
Date, Category-1, Category-2
01/02/08, 110, 20
02/02/08, 60, 95
Basically what I want is 1 record per day, and aggregates the quantities by
category for that day, but I want to place the aggregated quantities in 2
different columns since I want to use this query for a graphic.
Any help will be appreciated