For every subject, list the top 3 students by final score (ties may push the list past 3). Columns: subject_id, student_id, score, rk.
subject_id
student_id
score
rk
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.