find out the second highest salary?

Answer Posted / mallikarjun

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






Mallikarjun

Is This Answer Correct ?    216 Yes 86 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to pass a cursor variable to a procedure?

564


HI ALL, CAN ANYONE TELL ME THE DIFFERENCES BETWEEN SQL CLUSTURS,MSQL CLUSTERS,ORACLE CLUSTERS.......THANKS IN ADVANCE

1793


What is java oracle used for?

531


How can Oracle users be audited?

614


IS it possible to built the oracle database without setting the kernal parameters?

1765






How to bring a tablespace offline?

545


How to use fetch statement in a loop?

563


Using the relations and the rules set out in the notes under each relation, write table create statements for the relations EMPLOYEE, FIRE and DESPATCH. You should aim to provide each constraint with a formal name, for example table_column_pk.

1369


can anyody please send me the dump for Oracle 10g certifications for DBA path?

1699


What is the usage of merge statement?

680


What privilege is needed for a user to query tables in another schema?

513


What is the difference between hot backup and cold backup in oracle? Tell about their benefits also.

551


How to invoke the data pump import utility?

653


How to connect to oracle using service name instead of sid?

554


How do you find out from the RMAN catalog if a particular archive log has been backed-up?

1666