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 different tables present in mysql? : Sql dba
When do we use triggers?
What is a system versioned table?
How do I add a database to sql?
What is a pl/sql block?
what is the functionality of the function htmlentities? : Sql dba
What is bind variable in pl sql?
What are user defined functions?
Is it possible to Restore a Dropped Table using Rollback Command in Oracle SQL Plus ?
How do you declare a user-defined exception?
What is the sql query to display the current date?
Explain about various levels of constraint.
What is a temporal data type?
Is hadoop a nosql?
What does the hierarchical profiler does?