how to find nth highest salary
Answer Posted / dilip
SELECT MIN(SALARY) FROM tablealies.Table_Name WHERE SALARY
IN (SELECT DISTINCT TOP N MAX(SALARY) FROM
tablealies.Table_Name ORDER BY SALARY DESC)
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is 1nf 2nf and 3nf?
What is the fillfactor concept in indexes?
According to you what goes into making the best database administrator? : sql server database administration
What do we need queues in sql service broker?
Explain system functions or built-in functions? What are different types of system functions?
What are the rendering extensions of ssrs?
Define right outer join?
What is the difference between char, varchar and nvarchar?
How to populate a table in sql server?
Where the sql logs gets stored?
What is the ‘fillfactor’?
How can you append an identity column to a temporary table?
What is the purpose of forms?
How to rename an existing table with the "sp_rename" stored procedure in ms sql server?
Explain linked server in sql?