| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.tools -> Urgent: Help with grouping SQL!!
I have a SALE table which stores the information about each PRODUCT that is sold by the company. Of course, now there is is a date of the sale as well. Now, I need to report this information in the following manner:
Sales during the week beginning Feb 5
Mon Tue Wed Thu Fri
05/02 06/02 07/02 08/02 09/02
PRODUCT 1 23 34 67 22 89
PRODUCT 2 5 10 20 6 25
...
What SQL can I write? My tables look like this:
PRODUCT
Product Id, Product name
SALE
Product Id, Date of Sale, Quantity of Sale
I would appreciate any help!
Thanks,
Billy
Sent via Deja.com
http://www.deja.com/
Received on Wed Feb 07 2001 - 00:47:50 CST
![]() |
![]() |