how will I find the first 5 highest salaried employees in
each dept in oracle.
Answer Posted / sunil panghal
select rownum as row_id,salary from (select salary from
employees order by salary) where rownum <6;
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How to start your 10g xe server?
How to convert characters to times in oracle?
How to delete all rows a table in oracle?
How do I use os authentication with weblogic jdriver for oracle and connection pools?
How to upsert (update or insert into a table)?
How to define a procedure inside another procedure?
How to get execution path reports on query statements?
What is an oracle user role?
How to join two tables in a single query using oracle?
Write a syntax for update query in oracle?
How to view the tablespaces in the current database?
Explain the difference between replace() and translate() functions in oracle?
What is tns name?
What is the use of oracle?
How to create id with auto_increment on oracle?