Query for second maximum salary in each in each department
Answer Posted / yaswanth
select salary from(select salary,rownum rk from(select salary from employees order by salary desc)) ehere rk=2;
Is This Answer Correct ? | 2 Yes | 13 No |
Post New Answer View All Answers
Is vs as in pl sql?
What is normalisation and its types?
How do I create a memory optimized filegroup?
What is the use of <> sql?
What is rtm in testing?
What is the difference between having and a where in sql?
What is inner join in sql?
What are synonyms in sql?
What is sqlservr exe?
What is cursor in pl sql?
How to display Row Number with Records in Oracle SQL Plus?
Where is pl sql used?
What are the basic techniques of indexing?
what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba
What is a temporal data type?