Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> SQL Query
Hi All
I need some help.
I have a table with 2 fields (Nights and year )that looks like this:
Nights, Year
1, 2004 2, 2004
Now I want to make an sql query that returns a sum of each year like this:
field 2004,2005
Data 3, 89
How can I make this work?
Sincerely
Diedrik
Received on Wed Mar 16 2005 - 16:47:57 CST
![]() |
![]() |