select *
from ( select s.*, rank() over (order by salary desc) as rownumber
from salary )
where rownumber = nth
「nth」の代わりに給与番号を渡します
select *
from ( select s.*, rank() over (order by salary desc) as rownumber
from salary )
where rownumber = nth
「nth」の代わりに給与番号を渡します