find out the third highest salary?

Answer Posted / harikrishna ravipati

select max(sal) from emp where sal <
(select max(sal) from emp where sal <
(select max(sal) from emp))

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use subqueries with the in operator using oracle?

609


What is a tns service name?

534


What is oracle join syntax?

570


Whether any commands are used for months calculation? If so, what are they?

594


List out the difference between commit, rollback, and savepoint?

618






WHEN CURSOR MOVES FROM ONE FORM TO ANOTHER FORM, HOW MANY TRIGGER WILL BE FIRED AND WHAT ARE THEIR SEQUENCE?

1802


How will you identify oracle database software release?

525


What is index in Oracle?

588


What is oracle rowcount?

576


How to define default values for formal parameters?

592


How to start your 10g xe server from command line?

544


Explain a synonym?

602


What is a nvl function?

561


What the is the diff between local index and global index. give some example.

1133


I have a parent program and a child program. I want to write a statement in Exception Block of the parent program so that when the statement in the exception block is executed, the control goes to the next statement in the parent block bypassing the child block.How do i do that?

1967