find out the second highest salary?

Answer Posted / amulya kumar panda

select max(salary) from employee where
salary<(select max(salary) from employee)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a new user account in oracle?

577


Explain the use of show option in imp command.

638


Can any one explain me when i execute below query.. select months_between('07-JUL-12','10-FEB-12') from dual; Out put:- 4.90322581 How oracle calculate?

934


Explain the function of optimizer in oracle?

596


master table and child table performances and comparisons in Oracle ?

1666






What is difference between cartesian join and cross join?

589


What is meant by raw datatype?

568


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.

1607


An automatic job running via DBMS_JOB has failedKnowing only that its failed, how do you approach troubleshooting this issue?

1618


How to rename an index?

588


How to start your 10g xe server from command line?

547


How to Truncate Table in Oracle

655


What is the sid in oracle?

536


material view and view disadvantages?

635


What do you understand by database schema and what does it hold?

593