-- 20、查询学生的总成绩并进行排名(不重点) SELECT s_id,SUM(s_score)'总成绩' FROM score GROUP BY s_id ORDER BY SUM(s_score) DESC