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
Explain syntax for dropping triggers?
How to Sync Two SQL Azure Databases?
Suppose you want to implement the following relationships while designing tables. How would you do it?a.) One-to-oneb.) One-to-manyc.) Many-to-many
How to create a view using data from another view?
In which tcp/ip port does sql server run? Can it be changed?
How except clause is differs from not in clause?
What are commonly used odbc functions in php?
Can an automatic recovery be initiated by a user?
What is 'write-ahead log' in sql server 2000 ?
How can we rewrite sub-queries into simple select statements or with joins?
What is the difference between online clustering and Offline clustering?
What is the default port for SQL Server over a firewall?
Does the order of columns in update statements matter?
Where can you find the error log information? : sql server database administration
What is the difference between rank and dense_rank?