how to findout the 100th maximum salary

Answer Posted / ram

select * from emp
where sal in(select max(sal) from emp
where level=&nth
connect by prior sal>sal
group by level)order by sal

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is normalization sql?

719


Explain constraints in sql?

766


What's the difference between inner join and left join?

724


How many types of tables are there?

694


What is the use of %rowtype?

747






What is composite data type in pl sql?

766


What are triggers in sql?

749


Why partition by is used in sql?

726


How to run pl sql program in mysql?

681


how can we find the number of rows in a table using mysql? : Sql dba

790


List the different type of joins?

750


What is the difference between join and natural join?

655


What are the syntax and use of the coalesce function?

773


How do you declare a user-defined exception?

718


Why primary key is required?

721