select *

from (select emp.*,row_number() over(partition by deptno order by rownum) cn from emp)

where cn = 1;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2022-02-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
猜你喜欢
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
相关资源
相似解决方案