how to find nth highest salary
Answer Posted / ayush sharma
select sal from (select distinct sal from emp order by desc)
where rownum <=n minus select sal from(select distinct sal
from emp order by desc) where rownum<=n-1;
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Explain the properties of sub-query in sql server?
Explain indexed views?
Explain the functionalities that views support?
How to test odbc dsn connection settings?
How can we determine what objects a user-defined function depends upon?
What do you understand by the denormalisation?
What is meant by referential integrity?
Which is the main third-party tool used in sql server?
What is mean by dml?
What is federation member?
my name is sejal I have cleared the sbi clerk exam. I am BCA graduate My favorite subject RDBMS Relational database management system. so please send me rRDBMS related interview questions
What is implicit cursors?
How sql server executes a statement with nested subqueries?
What are the benefits and tasks of object explorer? : sql server management studio
What is change data capture (cdc) in sql server 2008?