SELECT id,name,grade_sum FROM (-- 获得每个人对应的总分数grade_sum SELECT user_id, grade_sum, RANK() OVER(ORDER BY t.grade_...