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
How do you pronounce sql?
how does a local variable is defined using t-sql? : Transact sql
Which one is faster ienumerable or iqueryable?
What is pl sql block structure?
Can we call dml statement in function?
what are the properties and different types of sub-queries? : Sql dba
Can you have more than one trigger on a table?
How do I find duplicates in a single column in sql?
Is sql a dbms?
what is not null constraint? : Sql dba
How does sql developer connect to oracle database?
Can procedure in package be overloaded?
What are the types pl/sql code blocks?
How can we solve sql error: ora-00904: invalid identifier?
What does data normalization mean?