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 -> Using the SUM function

Using the SUM function

From: ******** <NICKB_at_KUBOTA.CO.UK>
Date: 2000/05/02
Message-ID: <390ef15d.0@tahiti.alcom.co.uk>#1/1

Hello guys and gals.

I have a problem.I need to turn the following query table into summary format. It contains sales information:

YEAR CUST ITEM SALES_QTY
1998 ALBA TRACTOR 1
1998 ALBA TRACTOR 1
1998 ALBA TRACTOR 1
1997 ASH TRAILER 2
1996 ASH TRAILER 1 Ideally the finished format should look like this:

YEAR CUST ITEM SUM(SALES_QTY)
1998 ALBA TRACTOR 3
1997 ASH TRAILER 2
1996 ASH TRAILER 1 Please help,

regards,

Nick.

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 80,000 Newsgroups - 16 Different Servers! =----- Received on Tue May 02 2000 - 00:00:00 CDT

Original text of this message

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