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

Home -> Community -> Usenet -> c.d.o.server -> Re: SUM function

Re: SUM function

From: Matt <matt.selph_at_gmail.com>
Date: 21 May 2005 07:14:03 -0700
Message-ID: <1116684843.116807.71910@z14g2000cwz.googlegroups.com>


select a.key, sum(sales_amt*qty)
from table.a
group by a.key
having sum(sales_amt*qty) > 100000; Received on Sat May 21 2005 - 09:14:03 CDT

Original text of this message

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