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 is the difference between the repeatable read and serializable isolation levels? : Transact sql
How does cross join work?
Enlist the data types that can be used in pl/sql?
What is error ora-12154: tns:could not resolve the connect identifier specified?
What does the sign mean in sql?
Does view store data in sql?
what are the different type of normalization? : Sql dba
What packages are available to pl/sql developers?
How many types of triggers are there in pl sql?
What are the datatypes available in pl/sql ?
What is the primary use of normalization?
What is recursive join in sql?
difference between anonymous blocks and sub-programs.
What are the advantages of indexing?
How to select all records from the table?