Anybody can tell me, how do we find second largest emp
salary from emp table.. Thanks in advance ...

Answer Posted / raj

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

Is This Answer Correct ?    31 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you bind variables in oracle?

546


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.

1609


What is data type in oracle?

563


What is an oracle?

577


what is the difference between restoring and recovering?

558






How to list all indexes in your schema?

583


What is columnar storage what is the advantage?

546


What is a database table in oracle?

572


hi friends i completed b.com 2004.i have 3y accounting exp. in manufacturing company.now i have completed oracle finance.pls suggest me how will get job in oracle.can i get job in oracle.

1963


Can we commit inside a function in oracle?

558


What are the attributes of the cursor?

561


how to make an oracle object

1856


master table and child table performances and comparisons in Oracle ?

1666


What is ordinary table in oracle?

652


What are the differences between char and nchar in oracle?

601