how to findout the 100th maximum salary

Answer Posted / cuong nguyen

select min(salary) from (select top 100 distinct salary from
emp order by salary desc)

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Enlist the advantages of sql.

574


Why does sql need a server?

567


What is query execution plan in sql?

573


What is the example of procedure?

525


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 ?

540






What is nvl?

617


How run sql*plus commands that are stored in a local file?

526


explain mysql aggregate functions. : Sql dba

554


Can you skip header records while loading? : aql loader

544


How to add, remove, modify users using sql?

563


What is the importance of sqlcode and sqlerrm?

856


What is sql*loader and what is it used for?

583


What is basic structure of pl sql?

508


What are the types of sql commands?

555


Explain scalar functions in sql?

589