Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> help with a query

help with a query

From: <javadrink_at_my-deja.com>
Date: Wed, 10 Jan 2001 21:35:45 GMT
Message-ID: <93ikjj$i69$1@nnrp1.deja.com>

Hi,

Hope someone can help me with a query:

I have the following table: table1, with 2 columns: sales, date

what I want to do is:

select and add the value of sales based on date:

i.e.
result will be:

(sales in year 1998), (sales in 1999), (sales in 2000), (total sale)

Can I do it in ONE query?

Thanks a lot!

Sent via Deja.com
http://www.deja.com/ Received on Wed Jan 10 2001 - 15:35:45 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US