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 are the differences between number and binary_float in oracle?

571


How to drop a stored procedure in oracle?

592


How to save query output to a local file?

563


How to find out what oracle odbc drivers are installed?

578


What are the roles of dba?

614






How to invoke the data pump import utility?

653


How does oracle handle read consistency?

680


How to use "while" statements in oracle?

741


Explain what are the different type of segments?

580


What is the fastest query method to fetch data from the table?

866


What do you understand by a database object?

588


What are a query and state the different types of queries and their uses?

512


What is difference between cartesian join and cross join?

591


How index is implemented in oracle database?

596


How to create a table index?

568