How to Select second Maximum salary in a Table ?

Answer Posted / ranjini

select max(salary) from employee not exists (select
max(salary)from employee)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to empty your oracle recycle bin?

565


What operating systems are supported by oracle database 10g xe?

575


What happens if you lost a data file?

576


What is ordinary table in oracle?

645


Explain oracle insert into command?

624






Explain the use of control file?

650


What is raw datatype?

588


What is data file?

612


Can a formula column be obtained through a select statement ?

1843


What is Trigger in Oracle?

569


I have some query regarding Report generation from Oracle Apps "PO module". I have to generate a report where table columns are as below: Vendor_name Invoice No PO Number Item_Quantity Value of Goods Date of Shipping Name_of_the_transport Date_of_receipt_issued. Now my questions is :from which table/column I can get the information of "Name_of_the_transport" column. Thanks in advance.

2882


What are oracle functions?

551


How to divide query output into groups in oracle?

555


What is index-organized table in Oracle?

565


How to lock and unlock a user account in oracle?

610