how will I find the first 5 highest salaried employees in
each dept in oracle.
Answers were Sorted based on User's Feedback
Answer / lakshya
SELECT salary FROM employee where rownum < 6 ORDER BY
salary DESC
group by dept;
Is This Answer Correct ? | 11 Yes | 39 No |
Can u make a synonym for deptno=10 only from emp table.
How to turn on or off recycle bin for the session?
What is enter substitution variable in oracle?
How can we find out the duplicate values in an oracle table?
How to empty your oracle recycle bin?
Is it possible to insert comments into sql statements return in the data model editor ?
What are Schema Objects ?
What is bulk copy or bcp in oracle?
Explain the statement?? ALTER TABLE TABLE_NAME MOVE; What it the use of above statement??
interview questions with answer for cts
find the second highest salary of the emp table
how to select second mauximum value in a given table under salary column