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
How to commit the current transaction in oracle?
What query tells you how much space a tablespace named test is taking up, and how much space is remaining?
What are the advantages of oracle 12c?
How to define an explicit cursor in oracle?
What is the minimum client footprint required to connect c# to an oracle database?
What happens if recursive calls get out of control?
How to import one table back from a dump file?
what is the dual table in oracle?
What exactly do quotation marks around the table name do?
What is ceil and floor in oracle?
What are the ways tablespaces can be managed and how do they differ?
How to set a transaction to be read only in oracle?
How to add a new column to an existing table in oracle?
How to use subqueries in the from clause in oracle?
List out the difference between commit, rollback, and savepoint?