mysql 学生分数统计排名

mysql> select s1.*,(select count(0) + 1 from score s2 where s2.score > s1.score)rank from score s1;

 

mysql 学生分数统计排名_第1张图片

 

 

https://blog.csdn.net/jslcylcy/article/details/72627762

你可能感兴趣的:(mysql 学生分数统计排名)