find out the third highest salary?

Answer Posted / lakshmi

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

Is This Answer Correct ?    94 Yes 135 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a snapshot log?

564


How to drop an index?

539


how to handle exceptions in post production

947


How to add another datafile to a tablespace?

576


what is normalisation?what are its uses?

1759






what is the need of indexing topic in oracle? where do we use in a Java project? any other option other than using this to get the same result where we use indexing ?

2046


How to drop an existing table in oracle?

592


What is a system tablespace and when it is created?

556


What is snapshot is too old? Give and example for better understand.

1100


1) What is ONE_SIZE_FITS_ALL approach? 2) Explain the Common & Variable Header of DATA FILE? 3) What are the Drawbacks to using OMF DB? and the Advantages? 4) List out the Advantages of Undo T.spaces over the Undo SEGMENT? 5) Difference between the Temporary tablespace with TEMPFILE and the Tablespace with TEMPORARY Keyword? 6) What are the situation extents are freeing for reuse.

1606


How to get execution path reports on query statements?

563


What is a table index?

563


What is the relation of a user account and a schema?

613


Explain the difference between replace() and translate() functions in oracle?

580


Hi this srilatha. I comlpeted my Oracle-hrms. can u provide me interview questions on Core hr, payroll,sshr,OLM etc..

1654