find out the third highest salary?

Answer Posted / naveen kumar

Hi everybody,
This is one way to get the third highest salary
select ROWNUM as RANK from (select * from emp order by sal)
where ROWNUM<=3

Is This Answer Correct ?    11 Yes 27 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What privilege is needed for a user to create views in oracle?

587


How to build data dictionary view an new database?

530


How to store pictures on to the database?

526


Can the query output be sorted by multiple columns in oracle?

570


how to join query for one source type is oracle another source type is sql server ?

1987






What privilege is needed for a user to query tables in another schema?

502


How can I convert single byte kana characters into multi byte kana characters and vice-versa.

1933


What is the usage of save points in oracle database?

533


What is hash cluster in oracle?

594


what is a Nested Loop join?

1564


How to create a new table in your schema?

605


What is the difference between $oracle_base and $oracle_home?

583


Explain user account with reference to oracle.

528


How to speed up webrick?

591


What is meant by raw datatype?

568