n highest salary in sql
snippet in sql

n highest salary in sql

user4695

SELECT TOP 1 salary
FROM (
SELECT DISTINCT TOP N salary
FROM #Employee
ORDER BY salary DESC
) AS temp
ORDER BY salary

n highest salary in sql

user7120

SELECT salary FROM Employee ORDER BY salary DESC LIMIT N-1, 1