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

What exactly do quotation marks around the table name do?

556


Please explain joins in oracle?

563


How to find the duplicate rows count from employees table in oracle?

563


How does one get the view definition of fixed views/tables?

611


how to use select statement as formal parameter in procedure specification?(someone said that using string) ex:-procedure(a in number,select ename from emp ) i am asking syntax like this?

1541






What is a data lock in oracle?

619


Explain an index segment?

655


List out the types of joins.

602


How to download oracle database 10g xe?

606


How to turn on or off recycle bin for the session?

620


Explain the use of file option in exp command.

605


What is recovery manager(rman) backup in Oracle?

642


How to create additional tablespaces for an new database?

583


What is a package in oracle?

575


How to define an anonymous procedure without variables?

558