Skip to Main Content

DevOps, CI/CD and Automation

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!

Problems with Row_Number function

user8655468Aug 1 2013 — edited Aug 2 2013

I am having problems with the Row_Number function. I am using it to assign row numbers to records where a student has a grade of pass on a module and excluding failed modules (I want it to show a 0 as row number for failed modules). The problem is that when I try to use a condition, the report still assigns a row number to a failed module though it doesnt display it (it displays a 0 which I wanted it to show). The results appear as follows:

Row numberModuleGrade
1ModuleAPass
2ModuleBPass
0ModuleCFail
4 (instead of 3)ModuleDPass

How can I make it skip assigning a row number to all failed modules? Please assist.

Thanks.

This post has been answered by user8655468 on Aug 2 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 30 2013
Added on Aug 1 2013
5 comments
1,204 views