Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: newbie- decode, case or other SQL in Oracle 9i?
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
![]() |
![]() |