find out the second highest salary?

Answer Posted / premsagar12

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

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List out the types of joins.

583


Is primary key indexed by default in oracle?

534


What is index in Oracle?

581


How to create a table index in oracle?

644


What is the difference between PFILE and SPFILE in Oracle?

566






What is the implicit cursor in oracle?

554


How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?

2717


how to convert .db (extention) database file into .dmp (extention ) for oracle database ?

2050


In what script is snap$ created? In what script is the scott/tiger schema created?

2232


Difference between open_form and call_form in oracle.

664


How to create tables for odbc connection testing?

485


Assuming today is Monday, how would you use the DBMS_JOB package to schedule the execution of a given procedure owned by SCOTT to start Wednesday at 9AM and to run subsequently every other day at 2AM.

1497


Whether any commands are used for months calculation? If so, what are they?

579


How do I connect to oracle database?

528


Explain the use of log option in exp command.

527