窗口函数求和 -> 倒序 -> 过滤剩下一行
select name,sum(grade_num)over(partition by user_id) as grade_sum from grade_info,user where grade_info.user_id = user.id order by grade_sum desc limit 1
窗口函数求和 -> 倒序 -> 过滤剩下一行
select name,sum(grade_num)over(partition by user_id) as grade_sum from grade_info,user where grade_info.user_id = user.id order by grade_sum desc limit 1