select *
from ( select s.*, rank() over (order by salary desc) as rownumber
from salary )
where rownumber = nth
passe seu número de salário no lugar de "nth"
select *
from ( select s.*, rank() over (order by salary desc) as rownumber
from salary )
where rownumber = nth