Answers for "get top 3 highest salary in sql without window function"

SQL
5

n highest salary in sql

SELECT TOP 1 salary
FROM (
SELECT DISTINCT TOP N salary
FROM #Employee
ORDER BY salary DESC
) AS temp
ORDER BY salary
Posted by: Guest on February-08-2020
0

n highest salary in sql

SELECT salary FROM Employee ORDER BY salary DESC LIMIT N-1, 1
Posted by: Guest on February-07-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language