find out the second highest salary?

Answer Posted / anil

Guys try this to get 2nd highest salary

select max(salary) from employee where salary not in (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

What is raw datatype?

592


How to define an anonymous procedure with variables?

545


What is transport network substrate (tns) in oracle?

587


How to use subqueries in the from clause in oracle?

579


Explain what are the characteristics of data files?

628






In which language oracle has been developed?

646


What is oracle server autotrace in oracle?

614


How do I uninstall oracle 11g?

558


What exactly do quotation marks around the table name do?

544


what is the difference between data migration and production migration.

1806


Explain constraining triggers.

593


How to run create database statement again?

618


If any one has information regarding interview of NIC (National Informatics Centre),it would be of great help...

1731


What are the different oracle database objects?

587


What happens internally when the user types userID/password@string in SQL PLUS Thanks-Bhaskar

3824