i need department wise top 2 employees salary.which logic
i will use
Answer Posted / ramya p
Select * from emp where sal in
(Select * From (Select sal from emp order by sal desc)
Where rownum < 3) order by sal desc;
| Is This Answer Correct ? | 6 Yes | 18 No |
Post New Answer View All Answers
what is the difference between ereg_replace() and eregi_replace()? : Sql dba
Explain the structure of pl/sql in brief.
What is scalar function?
What is sql analyzer?
Mention what does plv msg allows you to do?
What is oracle pl sql developer?
what is transaction? : Sql dba
Which command is used to call a stored procedure?
what is the bond code in materialized view?
Explain unique key in sql.
What is raw datatype in sql?
What are the benefits of pl/sql packages?
What are the types of views in sql?
What is multiple columns?
Is not equal in sql?