i need department wise top 2 employees salary.which logic
i will use
Answer Posted / priyank shah
SELECT * FROM (SELECT ENAME,SAL FROM EMP ORDER BY SAL
DESC)
WHERE ROWNUM < 3
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is a full join?
Does sql*plus have a pl/sql engine?
what is meant by nl2br()? : Sql dba
Why is sql important?
How can you know that statistics should be updated?
Why we use sql profiler?
What is substitution variable in pl sql?
What are procedures used for?
what is the different between now() and current_date()? : Sql dba
Sql technical questions
What is acid property in a database?
What does an inner join do?
What is difference between inner join and self join?
what is the difference between union and union all? : Sql dba
Explain the uses of a database trigger?