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 -> Summing result od date arithmatic?

Summing result od date arithmatic?

From: David Spaisman <david.spaisman_at_compaq.com>
Date: Tue, 3 Nov 1998 17:54:29 GMT
Message-ID: <01be0753$03ecc080$12f21cac@dspaisman>


Hello:

One of my business analysts wants to write a query to select the difference, in days between two days, and sum each difference for each row so that he can see 5 sums for example,one for each row, as it is selected in the result set?

For example:\

columna ,columnb ,5(days), 5(cumulative sum) columna, columnb, 6(days), 11(cumulative sum columa, columnb, 3(days), 14(cumulative sum)........

 Is this possible? Or can there only be a sum at the end using a compute?

Thanks.

David Spaisman Received on Tue Nov 03 1998 - 11:54:29 CST

Original text of this message

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