Answers for "How would you find the 10th highest employee salary in the Employee 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

3rd height salary sql

SELECT MIN(EmpSalary) from ( 
	SELECT EmpSalary from Employee ORDER BY EmpSalary DESC LIMIT 3 
);
Posted by: Guest on October-20-2020

Code answers related to "How would you find the 10th highest employee salary in the Employee table?"

Code answers related to "SQL"

Browse Popular Code Answers by Language