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
Does sql full backup truncate logs?
how to enter characters as hex numbers? : Sql dba
list out some tools through which we can draw e-r diagrams for mysql. : Sql dba
What is varchar data type in sql?
What is pivot query?
how to get @@error and @@rowcount at the same time? : Sql dba
Explain how can you save or place your msg in a table?
How to display the records between two range in Oracle SQL Plus?
What is the difference between sum and count in sql?
Which sql statement is used to delete data from a database?
what is myisam? : Sql dba
what is sql profiler? : Sql dba
What is use of package in pl sql?
Explain alias in sql?
How do I use google cloud in sql?