题解 | #考试分数(三)#
考试分数(三)
http://www.nowcoder.com/practice/b83f8b0e7e934d95a56c24f047260d91
select id,name,score from (select g.id ,name,score,dense_rank()over(partition by name order by score desc)as r from grade as g left join language as l on g.language_id = l.id)as d where r<3