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 -> A typical query

A typical query

From: <venkatprakash_at_my-deja.com>
Date: Fri, 20 Aug 1999 17:24:55 GMT
Message-ID: <7pk30n$37f$1@nnrp1.deja.com>


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. Received on Fri Aug 20 1999 - 12:24:55 CDT

Original text of this message

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