select *
from (select t.*,row_number() over(partition by 分组字段 order by rownum) rn
from 表名 t
where 条件语句)
where rn= 分组中的第几条;

引用:https://blog.csdn.net/liuhaolian/article/details/89375042

 

相关文章:

  • 2021-12-18
  • 2021-05-30
  • 2022-12-23
  • 2021-12-03
  • 2021-05-09
  • 2022-12-23
  • 2021-11-28
猜你喜欢
  • 2022-12-23
  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案