Answers for ": Find 5th largest salary in a given Salary table."

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 ": Find 5th largest salary in a given Salary table."

Code answers related to "SQL"

Browse Popular Code Answers by Language