how to findout the 100th maximum salary

Answer Posted / aswini

select min(sal) from (select sal from emp order by sal desc) where rownum<=100

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate pl/sql and sql?

557


How can one get sql*loader to commit only at the end of the load file? : aql loader

561


How to load data with sql*loader?

547


How can I delete duplicate rows?

559


what is the difference between nested subquery and correlated subquery?

546






What is oracle and pl sql?

659


Does oracle use sql?

508


what is the difference between primary key and unique key? : Sql dba

521


What is data abstraction in sql?

507


Table A Table B 1 1 2 1 3 1. Union & union all --> A Union B , A Union all B 2. Minus , Intersect --> A minus B , B Minus A , A Intersect B 3. Joins A join B , A Left Join B A Right Join B , A full Join B 4. %Type - Uses & Benifit 5. Truncate & Delete 6. Pragma Autonomus Transaction 7. how to Perform DDL from function or procedure 8. Can we have DML inside Function 9. Rank & Dense Rank diffrence 10. Water Mark in Oracle 11. Index , Can we have index in all column of table if no then why ?

530


What are stuff and replace function?

568


Why is a primary key important?

543


How do I run a script in sql developer?

489


What is procedure explain with example?

532


what are different types of keys in sql?

603