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 analyze command used for?
State the various uses of dbcc command?
How to write a query with a right outer join in oracle?
What happens to indexes if you drop a table?
What is user managed backup in Oracle?
Explain mutating triggers.
What is the usage of merge statement?
What is concurrency in oracle?
What do you mean by redo log file mirroring?
How to find the duplicate rows count from employees table in oracle?
What is not equal to in oracle?
How does the on-delete-cascade statement work?
Compare and contrast between sql and sql server and explain its various functions?
What happens if you set the sga too low in oracle?
What is flashback in Oracle?