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 index in Oracle?
What is analyze command used for?
How to assign data of the deleted row to variables?
What is the data pump export utility?
what are bitmap indexes? How does they work?
What privilege is needed for a user to create indexes in oracle?
normally database take to refresh time 2 hours. but client asked iwant to refresh with in 5 min that same database. do you have any option in BO and Oracle? explain me briefly...kavi
What is an oracle user role?
How to convert a string to a date in oracle database?
How to rename an index in oracle?
What is oracle open database communication (odbc)?
What is user managed backup in Oracle?
How to loop through a cursor variable?
How to delete all rows a table in oracle?
What is the difference between view and materialized view in Oracle?