select name,sum(grade_num) over(partition by user_id) grade_sum
from user join grade_info gi
on user.id = gi.user_id
order by grade_sum desc
limit 1;