how to retrieve the top 3 salaries of the table using rownum

Answer Posted / raveendran

SELECT EMP_BASICS,ROWNUM FROM EMPLOYEE_MASTER WHERE
EMP_BASICS IS NOT NULL AND ROWNUM<=3 ORDER BY EMP_BASICS
DESC

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 a join?

809


What is the usage of the distinct keyword?

894


How to assign sql query results to pl sql variables?

674


What is the least restrictive isolation level? : Transact sql

764


What are secondary keys?

735






What is an inconsistent dependency?

761


What is the most common sql injection tool?

739


What is left join example?

677


how to do backup entire database? : Transact sql

884


What is using in sql?

796


What is difference sql and mysql?

704


How can a pl sql block be executed?

682


Is merge a dml statement?

731


What is the starting oracle error number?

757


Where is pl sql used?

679