Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / babbu
it's easy with self join:
select max(sal) from emp e1,emp e2 where e1.sal < e2.sal
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What are the three forms of normalization?
how is myisam table stored? : Sql dba
What is sql in java?
what are the different type of normalization? : Sql dba
Explain the methods used to protect source code of pl/sql.
what is a database lock ? : Sql dba
What are properties of the transaction?
Describe different types of general function used in sql?
What is implicit cursor in pl sql?
How do I view a sql trace file?
Why are sql stored procedures used?
What does partition by mean in sql?
How do you break a loop in pl sql?
Is left join same as join?
Can we use loop in sql?