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 5nf in normalization form?
What is Extended user-defined?
Thanks to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down?
How to list all schemas in a database?
What are the different authentication modes in sql server?
Define synonym?
What encryption security is available in sql azure?
How does SSIS(Sql Server Integration Services) deffer from DTS(Data Transformation Services)?
What is a functions and types in sql server?
What happens if null values are involved in datetime operations?
What are parameterized reports?
Distinguish between nested subquery and correlated subquery?
Explain indexes disadvantages?
Can we do dml on views?
ow to bring suspect mode datbase online from scratch