How to get employee name from employee table which is the
fiveth highest salary of the table

Answer Posted / shashidhar

SELECT EMP_NAME (SELECT ROWNUM R,B.* FROM employee B ORDER
BY SALARY DESC) A
WHERE A.R = 5

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to return an array from java to pl/sql?

589


What is the difference between the sql*loader and import utilities? : aql loader

600


How do I count records in sql?

518


what is error ora-03113: end-of-file on communication channel?

603


What are the operators in sql?

529






How do I create a sql database?

524


How do I make sql search faster?

558


what is column? : Sql dba

573


What is a temp table?

569


How to use boolean type in select statement?

583


Why do we use procedures in sql?

550


How can you fetch first 5 characters of the string?

554


What is the difference between sql, mysql and sql server?

533


what are local and global variables and their differences? : Sql dba

540


Is natural join and inner join same?

498