find out the second highest salary?
Answer Posted / akash
select emp_id,sal from ( select emp_id,sal from emp where
sal < ( select max(sal) from emp) order by sal desc ) where
rownum < 2;
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What happens if the imported table already exists?
What is the usage of analyze command in oracle?
What is a proxy class?
What do you mean by merge in oracle and how can we merge two tables?
How do I manually create a database in oracle?
What happens if the update subquery returns multiple rows?
What are the data types in oracle?
Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?
How do I spool to a csv formatted file using sqlplus?
Why we use bulk collect in oracle?
What is Virtual Private Database in Oracle?
What is a data dictionary and how can it be created?
What are dml statements in oracle?
How does Oracle guarantee data integrity of data changes?
How to drop a tablespace?