find out the third highest salary?

Answer Posted / deepal saini

this is the best way to find out thethird highest salary from emp table

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 will you identify oracle database software release?

527


State some uses of redo log files?

566


What is a trace file and how is it created in oracle?

554


What is connection pooling in oracle?

552


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

562






What is an oracle wallet?

515


Does oracle charge for java?

591


How many types of tables supported by oracle?

578


Explain the difference between a procedure and a function?

561


What is a user role in oracle?

613


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

574


What are the different oracle database objects?

588


An automatic job running via DBMS_JOB has failedKnowing only that its failed, how do you approach troubleshooting this issue?

1623


11. Display the client number and name and the client number and name of the person who referred that client.

1921


How to convert characters to dates in oracle?

561