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 difference sql and mysql?
What is an inconsistent dependency?
How does cross join work in sql?
What is keys and its types?
How do I create a sql database?
How insert into statements in sql?
how many groups of data types? : Sql dba
What is the difference between the repeatable read and serializable isolation levels? : Transact sql
What is the use of index in hive?
What does select count (*) mean in sql?
Why trigger is used in sql?
Explain what is a database?
Why is the cursor important?
describe mysql connection using mysql binary. : Sql dba
How do I restart sql?