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
What is instead of dml trigger?
How many types of built in functions are there in sql server 2012?
What are data regions?
What is the difference between clustered and non-clustered indexes in ms sql server?
Can you explain about buffer cash and log cache in sql server?
How to get a list of all tables with "sys.tables" view in ms sql server?
Explain the xml support sql server extends?
Can you explain what are the restrictions applicable while creating views? : SQL Server Architecture
What is table level trigger?
Define Wed Edition in SQL Azure?
What is a trace frag?
what is spatial nonclustered index
How to delete an existing row with delete statements in ms sql server?
What is policy based management (pbm)? : sql server database administration
How to view the error log for any specific instance? : sql server database administration