how to find nth highest salary
Answer Posted / neeraj kumar
select top(1) salary from(
select distinct nth salary
from emp
order by salary desc)a
order by salary
In this answer you can put any position in place of nth then you find the salary.
If you are satisfied this answer then reply me please.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how to use DTS package in 2000,2005,2008 in sql server
How do you implement session management in SQL Server mode?
how you can deploy an ssrs report?
What is difference between materialized view and view?
explain the storage models of olap? : Sql server database administration
How many triggers you can have on a table?
How to find tables without indexes?
Explain mixed authentication mode of sql server?
What is the recovery model?
How many levels of sp nesting is possible?
How do I shrink an ldf file?
What is log ldf?
Explain what are page splits? : SQL Server Architecture
How to optimize stored procedure optimization?
What is the command dbcc checkdb used for?