Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / neha singh
select min(sal)
from
(select sal from
(select sal from emp
order by sal desc)
where rownum<=2)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
how to fetch common records from two tables? : Sql dba
How is debugging done?
What is exit statement?
Can procedure in package be overloaded?
What is Materialized View? In What Scenario we Use Materialized View?
Can you join a table to itself?
What are different methods to trace the pl/sql code?
What is latest version of sql?
What is pls integer?
What is the difference between drop and truncate commands?
What is difference between sql and oracle?
What is difference between sql and excel?
Do stored procedures prevent sql injection?
Is sql dba a good career? : SQL DBA
Explain constraints in sql?