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

Answer Posted / kishore

select salery from (
(select salery ,rownum as num from
(select salery from employees order by salery desc)
where rownum <= 5 ))
where num = 5;

Is This Answer Correct ?    18 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a column in a table?

559


What is difference between joins and union?

535


What does (*) mean in sql?

527


what is sql profiler? : Sql dba

592


What has stored procedures in sql and how we can use it?

571






What is full form of rtm?

535


How to display the current date in sql?

601


how are mysql timestamps seen to a user? : Sql dba

564


How to change the order of columns in Oracle SQL Plus ?

616


what is the different between now() and current_date()? : Sql dba

526


What does count (*) mean?

530


Show the two pl/sql cursor exceptions.

616


Is ms sql is free?

533


What is meant by cursor in sql?

548


What are different types of sql?

564