此题:就似乎普通排序的
select 
学号,班级,成绩,
rank()over(partition by 班级 order by 成绩 desc) as 排名
from 成绩表