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 is the difference between ereg_replace() and eregi_replace()? : Sql dba
Differentiate pl/sql and sql?
What is dynamic query?
What are functions in sql?
Is sql procedural language?
What is composite primary key in sql?
How to run sql*plus commands in sql developer?
Can I join the same table twice?
what are date and time data types in mysql? : Sql dba
Is sql better than excel?
What is a pdo connection?
Does sql*plus also have a pl/sql engine?
What is the difference between rename and alias?
What is ttitle and btitle?
What is the command used to fetch the first 5 characters of a string?