find out the second highest salary?

Answer Posted / ishrat ali

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

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a cursor variable?

576


Explain constraining triggers.

593


What is hash cluster in oracle?

596


Database crashes. Corruption is found scattered among the file system neither of your doing nor of Oracles. What database recovery options are available? Database is in archive log mode.

1534


Explain oracle insert into command?

630






What is the meaning of recursive hints in oracle?

532


Please explain drop constraint oracle?

627


How to get maxsal , minsal, ename department wise in single query

1017


If a parameter is used in a query without being previously defined, what diff. exist betw. report 2.0 and 2.5 when the query is applied ?

1798


What are the restrictions in a oracle read only transaction?

572


How to shutdown your 10g xe server?

618


How to create a new table by selecting rows from another table?

553


Which are the five query types available in oracle?

530


How to rename a tablespace in oracle?

618


What is an oracle recycle bin?

551