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

Home -> Community -> Usenet -> c.d.o.misc -> Re: newbie- decode, case or other SQL in Oracle 9i?

Re: newbie- decode, case or other SQL in Oracle 9i?

From: <bbcrock_at_gmail.com>
Date: 5 Oct 2005 14:15:08 -0700
Message-ID: <1128546908.677118.202800@g43g2000cwa.googlegroups.com>


yes, that appeared to work as:

select Type, sum(decode(finalamount,0,preliminarymount,finalamount)) as summary
from budgettable
group by Type

thanks!

Don Received on Wed Oct 05 2005 - 16:15:08 CDT

Original text of this message

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