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
What is meant by temporal data?
What is rename in sql?
Explain table and field in sql?
What is replication id?
Can sql developer connect to db2?
Why procedure is used in sql?
What is a data definition language?
What is left join in postgresql?
What is the difference between cross join and natural join?
What is foreign key and example?
Which tcp/ip port does sql server run?
What is data control language?
What are the types pl/sql code blocks?
State some properties of relational databases?
What is pragma in sql?