how to findout the 100th maximum salary

Answer Posted / akki reddy

SELECT *
(SELECT SAL, ROWNUM RN FROM EMP ORDER BY SAL DESC)
WHERE RN=100;

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use partitions in sql?

720


What are sql procedures?

759


What is the most common sql injection tool?

738


What are the three pl sql block types?

721


What is scalar and vector?

720






How to start the command-line sql*plus?

745


When to use inner join and left join?

695


How does sql store data?

663


What is dml statement?

699


How to get unique records from a table?

683


describe transaction-safe table types in mysql : sql dba

701


How do I run a script in sql developer?

703


How many sql are there?

733


what is sub-query? : Transact sql

839


Can a foreign key be a duplicate?

682