how to find nth highest salary
Answer Posted / chandra sekhar
select min(salary) from emp where salary in (select top n salary from emp order by salary desc)
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How to select some specific rows from a table in ms sql server?
How can you know if the row fetched from cursor is still valid in underlying table?
Explain different types of lock modes in sql server 2000?
What is the security principal at the server level that represents your session?
What are the rendering extensions of ssrs?
Why truncate is ddl?
What are secondary xml indexes?
How can you ensure that the database and sql server based application perform well?
what protocol both networks use? : Sql server database administration
Can group by be used without aggregate functions?
What is the tcp/ip port on which sql server runs?
What is partitioned view?
How much is a sql server license?
What is 1nf normalization form?
What causes index fragmentation?