find out the third highest salary?

Answer Posted / neha

select max(sal) from emp where sal <(select max(sal)from emp
where sal<(select max(sal) from emp));

Is This Answer Correct ?    103 Yes 31 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use unicode codesets with the weblogic jdriver for oracle driver?

542


What do you understand by a database object?

575


How to write a query with an inner join in oracle?

555


Explain cascading triggers.

568


Difference between inner join vs where ?

599






How to initialize variables with default values?

621


How can you use check constraints for self referential integrity?

516


Explain the use of compress option in exp command.

541


How to connect to the server with user account: sys?

554


Differentiate between function and procedure in oracle.

555


How to drop an existing table in oracle?

584


normally database take to refresh time 2 hours. but client asked iwant to refresh with in 5 min that same database. do you have any option in BO and Oracle? explain me briefly...kavi

1732


Provide an example of a shell script which logs into SQLPLUS as SYS, determines the current date, changes the date format to include minutes & seconds, issues a drop table command, displays the date again, and finally exits.

1565


Select all the employees who were hired in last 2 years and who works in dept where max managers are working.

2444


What is a relational database management system?

660