how to find nth highest salary
Answer Posted / shiva
SELECT MAX( salary) FROM salary where salary not in(
SELECT DISTINCT TOP 3 salary FROM salary order by salary desc)
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How to apply cascading referential integrity in place of triggers?
What is nested transaction?
Is it possible for a stored procedure to call itself or recursive stored procedure?
What is collation sensitivity?
What does nvl stand for?
How to drop existing views from a database in ms sql server?
What is mssql?
What command do we use to rename a database?
What is difference between getdate and sysdatetime in sql server 2008?
Why do we need different type of parameter?
What is query cost in sql server?
What is inner join in sql server joins?
What are different replication agents and what's their purpose? : sql server replication
What are the disadvantages of indexes?
Explain about merge replications?