how to find nth highest salary
Answer Posted / babu
select * from emp e where &num=(select count(distinct(sal))
from emp b where b.sal>=e.sal)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain log shipping and mention its advantages.
Does a server store data?
List the various tools available for performance tuning?
How to filter out duplications in the returning rows in ms sql server?
What is change data capture (cdc) feature?
Is BCNF better than 2NF & 3NF? Why?
Can you explain different types of locks in sql server?
What is difference between equi join and inner join?
What are sql server functions?
What is sql server replication? : sql server replication
What types of replication are supported in sql server?
What are some of the pros and cons of not dropping the sql server builtinadministrators group? : sql server security
What is the main difference between ‘between’ and ‘in’ condition operators?
what is difference between NULL and ISNULL in SQL Server 2008?
What is partitioned view?