Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Sql Help
DA Morgan wrote:
> kishanthakker_at_gmail.com wrote: >
> > > There is no such thing in a relational database heap table > as previous. How can "previous" be determined based on application > logic. The table, itself, has no such concept.
Daniel, cool down, have a sip.
"I select, [and] order [on] fnd_code,txn_dt,txn_no".
So when there's 1,2,2/1,2,3/1,3,1/1,3,3
the "previous" record of 1,3,3 would be 1,3,1.
the "previous" record of 1,3,1 would be 1,2,3, etc.
Now, the OP had something about running totals?
-- Regards, Frank van BortelReceived on Mon Aug 01 2005 - 15:09:19 CDT
![]() |
![]() |