how to find nth highest salary
Answer Posted / arun
SELECT MAX(salary)FROM employee WHERE salary NOT IN
(SELECT TOP 1 salary FROM employee ORDER BY salary DESC)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How do I determine how many instances of sql server are installed on a computer?
What is partition, how will you implement it? : sql server analysis services, ssas
Define tempdb database?
What does <> symbol mean?
What is the difference between a primary key and a unique key? Are they the same?
What is normalization and denormalization in sql server?
What is the concept of optimization?
What are the differences between lost updates and uncommitted dependencies?
Is it ok to shrink transaction log?
Do you know what are the differences between lost updates and uncommitted dependencies?
What are the security related catalog views? : sql server security
Are resultset updatable?
What is the difference between having clause and where clause in sql server?
What is normalization? Explain its different types?
what are isolation levels? : Sql server database administration