Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: A typical query
i would be interested to know where this sort of query could be useful!!
i don't have a simple solution, with SQL.
In article <7pk30n$37f$1_at_nnrp1.deja.com>,
venkatprakash_at_my-deja.com wrote:
> I have a typical problem to solve.
>
> IMPORTANT: I need to write a single SQL statement to solve the below
> problsm:
>
> Finding the cumulative value of n records. For eg
>
> sal
> ===
> 10
> 20
> 30
>
> The answer should be 10+(10+20)+(10+20+30)+...
>
> Can anybody give me a tip, please.
>
> Thanks
>
> V Prakash
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
>
--
Nandakumar
Systems Analyst
New York
(N.Kumar_at_rocketmail.com)
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Fri Aug 20 1999 - 15:36:26 CDT
![]() |
![]() |