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 are the disadvantages of mysql? : Sql dba
column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.
When are we going to use truncate and delete?
What is query syntax?
what is unique key constraint? : Sql dba
What kind of join is join?
What is procedure explain with program?
What is mutating error?
What is difference between sql and mysql?
what is difference between delete and truncate commands? : Sql dba
how to convert numeric values to character strings? : Sql dba
What is sql select statement?
Does a join table need a primary key?
What is the benefit of foreign key?
What is schema in sql example?