Forum Discussion
Kiven_03
2 years agoRegular Visitor
Window Function for Student marks
Hi, I have issue in finding a solution, please help me with it. I have a table "X_Marks", where columns are (ResultYear (ex: 2021-2022), School_ID, Roll_Number, Subject_Code, Marks). The Resul...
- 2 years ago
Here is a radically different approach
Add all marks together and then subtract the smallest mark.
lbendlin
2 years agoSuper User
what is your expected result in case of ties? Is it ok to randomly pick subjects?
- Kiven_032 years agoRegular Visitor
Hi lbendlin ,
Thank you for your reply,
I was trying to get the total of top5 subject marks out of 6 subjects of a student,but thing is in student's Marks Table of 3 academic years where student roll in not unique, but unique in each academic year.
Thank you.
- lbendlin2 years agoSuper User
let's say you have the following marks
87,87,83,83,83,83
What in your opinion should be the top 5 subjects?