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 prepared statement in sql?
How delete all data from all tables in sql?
What are different methods to trace the pl/sql code?
Name the different types of indexes in sql and define them.
What is the starting oracle error number? What is meant by forward declaration in functions?
what are ddl statements in mysql? : Sql dba
Can we join more than 2 tables in sql?
what is a database lock ? : Sql dba
What is application trigger?
What is the use of function in sql?
How to run sql*plus commands in sql developer?
what are the authentication modes in sql server? : Sql dba
What is an alias command?
What is range partitioning?
what is a control file ? : Sql dba