题解 | #刷题通过的题目排名#
刷题通过的题目排名
http://www.nowcoder.com/practice/cd2e10a588dc4c1db0407d0bf63394f3
注意order by可以接多个列
select id, number, dense_rank() over(order by number desc) t_rank
from passing_number
order by t_rank, id;
from passing_number
order by t_rank, id;