select (select count(distinct b.sal) 
from emp b
where b.sal<=a.sal) as rnk,
a.sal
from emp a;

相关文章:

  • 2021-08-04
  • 2021-10-30
  • 2021-07-24
  • 2021-08-01
  • 2021-05-20
  • 2022-01-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
  • 2021-09-05
  • 2022-12-23
  • 2021-07-20
相关资源
相似解决方案