Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

i'm doing ETL testing with the help of sql and I have question on how to wrtie a select query to as

84864a31-e269-47e7-87a7-42a8456cf73dAug 25 2014 — edited Aug 25 2014

@

Currently I'm testing a partcular col which is loaded with the help of etl and I need to compare that my sql query.

now my issue is the logic whihc I should test is that:

cola - Set to the colb of the previous row in this table for the given id.  This would be date - 1.

My question is how to incorporate this in my select query:

select query to assign a cola's prevoius month last date value to colb

Please advice .

Message was edited by: 84864a31-e269-47e7-87a7-42a8456cf73d

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 22 2014
Added on Aug 25 2014
2 comments
832 views