Mysql表结构如下所示:
subject ca quiz exam exam_cumulative positionineachcourse matric_no name
Maths 10 20 34 64 HT/001 John
Econs 14 14 40 68 HT/002 Mark
History 20 30 60 110 HT/003 Grace
Chem 15 15 50 80 HT/004 Alice
Bio 12 13 60 85 HT/005 Larry
如何在每个课程中获得每个学生的位置,然后获得他们的整体职位,如1ST,SND,3RD,4TH和5TH?