how to find nth highest salary
Answer Posted / ravikiran
select * from employee.e1 where (n-1) =
( select (distinct b.salary ) from employee.e2 where e1.salary > e2.salary
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is sub-query in sql server?
What are different types of subquery?
Explain log shipping?
How to create an multi-statement table-valued function?
How do I manually uninstall an instance of sql server 2016?
Tell me what are cursors and when they are useful?
Define union, union all, minus, intersect?
How to verify a user name with sqlcmd tool?
What is clustered primary key?
Is it possible to update the views? If yes, how, if not, why?
What are the diifferences between the ms sql server vs mysql?
Explain how to maintain a fill factor in existing indexes?
What is dirty read?
How do you delete duplicate records in sql server?
Tell me what is normalization? Explain different forms of normalization?