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 compound trigger?
What are the differences between in and exists clause?
What is auto increment?
What is the sql case statement?
What is the difference between microsoft access and sql?
Can a composite key be null?
what is the different between now() and current_date()? : Sql dba
How do you rename a table in sql?
How do I restart sql?
What is execute immediate?
what is not null constraint? : Sql dba
What are pl/sql cursor exceptions?
Is it possible to pass parameters to triggers?
What is the use of double ampersand (&&) in sql queries? Give an example
What is data control language?