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
What is a partition key?
Does sql server 2000 full-text search support clustering?
What is a fill factor?
What are dml triggers and types of dml triggers?
Which are ddl commands?
role of sql sever 2005 in database rather than any other database
What is autocommit mode in sql server?
What are the advantages of log shipping?
Tell me what is difference between view and materialized view?
How many types of triggers in sql server?
Explain different types of locks in sql server.
What is the architecture of ms sql reporting service?
While migrating Microsoft SQL Server 2008 database to SQL Azure, what can be done to ensure the database connectivity does not degrade?
How to find table changes in sql server?
How to create function without parameter in sql server?