http://blog.oracle.com.cn/html/79/t-85279.html 思路应该用rank() over (partition by dept_id order by salary) 分组排序 再用rownum选择前5