- 博客(1)
- 资源 (2)
- 收藏
- 关注
原创 postgres分组查询每组前top 10 的人员
查询每个市的前十名人员信息方法一:用分组排序row_number() over()查出前十个,效率较慢select * from tab a where exists(select id from ( select id, row_number() over(partition by city oder by id ) rn from tab ) tab where ...
2018-07-11 16:27:12 6697
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人