Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / prasanna
select * from emp where 2(select count(distinct sal) from
emp e where sal>=e.sal);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is gpt format?
What is left join example?
what are different types of collation sensitivity? : Sql dba
What is implicit cursor in pl sql?
What is difference sql and mysql?
what are the drivers in mysql? : Sql dba
What is view? Can we update view
what are the advantages of using stored procedures? : Sql dba
What is the use of stored procedures?
How many scalar data types are supported in pl/sql?
what is table? : Sql dba
What is a memo field?
What is trigger types in sql?
List out the acid properties and explain?
In what condition is it good to disable a trigger?