how will I find the first 5 highest salaried employees in
each dept in oracle.
Answer Posted / manoj
SELECT employee_id, employee_name, salary FROM employees
where rownum < 6 ORDER BY
salary DESC
group by department_id;
| Is This Answer Correct ? | 4 Yes | 29 No |
Post New Answer View All Answers
What is translate in oracle?
master table and child table performances and comparisons in Oracle ?
What is archive log in Oracle?
How to use like conditions in oracle?
What is meant by an index?
What do you understand by database schema and what does it hold?
Explain the use of constraints option in exp command.
How to call a stored function in oracle?
What is an oracle data file?
how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?
How to shutdown your 10g xe server from command line?
how do we code triggers , store procedure , Performance tuning and indexing in a Java Project? Pls kindly get me the perfect answer with the code for each....thank you in advance............pls any body kindly help me soon as possible....
How to create a new oracle data file?
What is the dynamic sql in oracle?
What is difference between truncate and delete?