how to find nth highest salary
Answer Posted / amit
Select salary
from employees
order by salary desc
limit n-1,1;
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What are subqueries in sql server? Explain its properties.
What are the different types of collation sensitivity in sql server?
What is a data source file?
How to create an inline table-valued function?
How to get a list of columns in a view using the "sp_columns" stored procedure?
What is the bookmark lookup and rid lookup?
What is the difference between a primary key and a unique key? Are they the same?
How do I find the sql server database version?
What is function of CUBE ?
How many databases Microsoft SQL server provides?
What is transaction server implicit?
How to use linked server?
What is open database communication (odbc)?
Explain what is lock escalation and what is its purpose?
explain different types of backups avaialabe in sql server? : Sql server database administration