i need department wise top 2 employees salary.which logic
i will use
Answer Posted / mukesh kumar
SELECT * FROM (SELECT NAME,SALARY FROM EMP ORDER BY SALARY
DESC)
WHERE ROWNUM < 3
| Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
what is a primary key? : Sql dba
what is the difference between union and union all? : Sql dba
Write the alter statement to enable all the triggers on the t.students table.
Can a composite key be null?
what is a cursor? : Sql dba
What is the file extension for sql database?
Explain the difference between rename and alias?
Can we use having without group by in sql?
What is rtm in testing?
What are the disadvantages of not performing database normalization?
What is pessimistic concurrency control? : Transact sql
Why do we need view in sql?
What is dense_rank?
Can a varchar be a primary key?
What are basic techniques of indexing?