Answer Posted / venkata
hi, earlier query return sal in asending order and when
duplicate salries are there the earlier highest salary
position returns no rows. I hope this is better query.
select * from (select * from emp order by sal desc)
group by
rownum,empno,ename,job,mgr,hiredate,sal,comm,deptno having
rownum=&n
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is merge statement used for?
Is rowid unique in oracle?
How can we force the database to use the user specified rollback segment?
How to lock and unlock a user account in oracle?
I have a table called 'test' on source and target with same name, structure and data type but in a different column order. How can you setup replication for this table?
What is ordinary table in oracle?
What is the difference between pre-select and pre-query?
How to open and close an explicit cursor in oracle?
How index is implemented in oracle database?
What is snapshot is too old? Give and example for better understand.
State and explain about oracle instance?
What is bulk load in oracle?
What is using clause and give example?
How to pass parameters to procedures?
6. Display the client name and order date for all orders using the traditional method.