how to findout the 100th maximum salary

Answer Posted / goutham4mail@gmail.com

select top 1 * from Emp where Sal in
(select top 100 Sal from Emp order by Sal desc) order by
Sal asc

Is This Answer Correct ?    3 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql query limit?

510


What is the limitation on the block size of pl/sql?

532


Can sql function call stored procedure?

558


Which is the correct statement about truncate and delete?

528


how many triggers are allowed in mysql table? : Sql dba

559






How do I run a query in pl sql developer?

562


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 ?

536


what are myisam tables? : Sql dba

552


What is dense_rank in sql?

544


Does group by remove duplicates?

551


How to change sql*plus system settings?

544


How exception handling is done in advance pl/sql?

500


what is the difference between sql and t-sql? : Transact sql

603


What is a database trigger?

612


Is sql a scripting language?

521