how to find nth highest salary
Answer Posted / avinash
declare @n;
set @n = N
select * from tbl
where @n in (
select dense_rank over (order by salary) as rank_sal
from tbl )
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the basic functions for master, msdb, model, tempdb databases?
When you should use a low fill factor?
What is rtm version in sql server?
What is entity data services?
How to find the login name linked to a given user name?
How to check parameter value in stored procedure sql server?
List the different types of collation sensitivities in sql server?
List the various tools available for performance tuning?
What do you understand by mirroring and mention the advantages of the mirroring?
What are the disadvantages of using querystrings to send data from one page to another?
What is meant by referential integrity?
what is difference between NULL and ISNULL in SQL Server 2008?
What is an indexing technique?
What is user-defined function?
What is exporting utility?