how to find nth highest salary
Answer Posted / sanwar hudda
n th Highest salary
select salary from test t1 where n-1=(select COUNT (*) from
test
where salary > t1.salary )
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is raiseerror? What is raiseerror?
Can you explain what is indexed view? How to create it?
what's sql server? : Sql server database administration
how to avoid cursors? : Sql server database administration
what is a mixed extent? : Sql server administration
How ssrs maintain security?
What is the difference between DATETIME2 and DATETIME?
Explain external key management in sql server 2008
Define Wed Edition in SQL Azure?
What happens if null values are involved in boolean operations?
What is snapshot parameter in ssrs?
How can I check if a view exists in a sql server database?
What is an expression in ms sql server?
What is conditional split?
Do you know query execution plan?