find out the second highest salary?
Answer Posted / prasant
SQL> select max(sal) from emp where sal<(select max(sal)
from emp);
MAX(SAL)
----------
3000
Is This Answer Correct ? | 22 Yes | 3 No |
Post New Answer View All Answers
What is an oracle and why it is used?
What are the set operators union, union all, minus & intersect meant to do?
how the indexes are stored in the Oracle Database?
How to set a transaction to be read only in oracle?
Explain the use of parfile option in exp command.
Explain a data segment?
How do I spool in oracle?
What is the database name in oracle?
How to execute the package in oracle?
How do I limit the number of rows returned by an oracle query after ordering?
What is the data type of dual table?
What are the advantages of oracle?
What privilege is needed for a user to create views in oracle?
what happened to the global index when I truncate the data in one of the partition?
Difference between pre-select and pre-query