Pergunta de entrevista da empresa PalTech

write a SQL query to find the Nth highest salary from an Employee table.

Resposta da entrevista

Sigiloso

24 de fev. de 2026

Select * from ( select *,row_number() over(orderby salary desc) as rnk from employees) where rnk=n