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
Why cross join is used?
What is execute immediate?
What is sqlerrm?
Can we commit in trigger?
describe mysql connection using mysql binary. : Sql dba
What are secondary keys?
How do we accept inputs from user during runtime?
I need a function for a train ticket reservation please answer it thanks in advance
What is fmtonly in sql?
What are the basic techniques of indexing?
What is %rowtype in pl sql?
how to run 'mysql' commands from a batch file? : Sql dba
What is delete command in sql?
how many ways to get the current time? : Sql dba
What is a stored procedure in sql with example?