how to find nth highest salary
Answer Posted / guru
select max(salary) from Employee where salary not in(select
top (n-1) salary from Employee order by salary desc)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is primary key index?
What type of locking occurs during the snapshot generation? : sql server replication
Explain what stored procedure sp_replcounters is used for? : sql server replication
What are cursors and when they are useful?
What is the maximum number of instances in 32 bit and 64 bit sql server 2012?
What do you understand by intent locks?
What is a dataset and what are the different types of datasets?
How do you handle datasets larger than 50 gb?
Define tempdb database?
Explain full-text query in sql server?
How to manipulate data from one table to another table ?
What’s the use of custom fields in report?
What is the xml datatype?
What are the different types of sql server replication? : sql server replication
How to recreate an existing index in ms sql server?