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

Answer Posted / apsar

select sal from (select sal,count(sal) over order by salary desc c)temp where temp.c=&n;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Will you be able to store pictures in the database?explain.

538


How many types of database triggers exist?

575


How to pass a parameter to a cursor in oracle?

595


Explain cascading triggers.

574


List out the types of joins.

593






What is the difference between post-database commit and post-form commit?

515


What is the difference between 10g OEM and 11g OEM?

561


State some uses of redo log files?

564


What is logical backup in oracle?

578


State the various uses of dbcc command?

548


How many types of auditing in Oracle?

566


please explain.. DB architecture ...

1559


There are n numbers of flatfile of exactly same format are placed in a folder.Can we load these flatfile's data one by one to a single relational table by a single session??

1614


What is a nvl function?

563


What are the differences between date and timestamp in oracle?

552