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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to Get Sum from First Row to Previous Row?

kamranpathanSep 17 2011 — edited Sep 17 2011
Dear gurus...I need to Get Sum of a column from First row of my result set to the Previous row based on a condition. I read Analytical Functions for this but they provide Sum from First Row to Current Row through statement " Rows Between Unbounded Preceding And Current Row". Is there any statement which calculates Sum like "Rows Between Unbounded Preceding And Previous Row" ?
This post has been answered by Frank Kulash on Sep 17 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 15 2011
Added on Sep 17 2011
6 comments
2,041 views