Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / abhay
Select Max(Sal)
From Emp E
Where E.Sal < (Select Max(Sal) From Emp)
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is a native sql query?
What is a left join?
What are the 3 types of behavioral triggers?
How to process query result in pl/sql?
How do I run a sql query?
What is the difference between sql and isql*plus?
What is the use of partition by in sql?
What is the difference between join and natural join?
Is sqlite free?
What are different methods to trace the pl/sql code?
Explain the types of joins in sql?
Define overloaded procedure?
what is self join and what is the requirement of self join? : Sql dba
What is oracle and pl sql?
How to find 3rd highest salary of an employee from the employee table in sql?