how to findout the 100th maximum salary

Answer Posted / maroju naveen

select level,max(sal) from emp where level=&levelno
connect by prior sal>sal
group by level;
This is Nth max(sal) query.....

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain polymorphism in pl/sql.

819


When do we use triggers?

799


What is difference between my sql and sql?

717


How to select all records from the table?

802


What is exception? What are the types of exceptions?

787






Can we call procedure in select statement?

732


Is pl sql a scripting language?

777


What is rename command in sql?

661


What is procedure explain with program?

718


What is the use of count (*) in sql?

750


Explain the methods used to protect source code of pl/sql.

732


Does inner join remove duplicates?

698


Is inner join same as self join?

782


What is auto increment in sql?

817


when MSQL8.0 is in market

1772