find out the third highest salary?
Answer Posted / husenaiah.b
select empno,ename,sal from
(select empno,ename,sal from emp order by sal desc)
group by rownum,ename,sal having rownum=&n;
from this query we can find top nth sal
| Is This Answer Correct ? | 22 Yes | 38 No |
Post New Answer View All Answers
How to import one table back from a dump file?
Calculate difference between 2 date / times in oracle sql?
What view(s) do you use to associate a users SQLPLUS session with his o/s process?
Is oracle a programming language?
Can we insert data in view oracle?
How to view existing locks on the database?
What is recovery manager in Oracle?
Explain the use of parfile option in exp command.
How to delete all rows a table in oracle?
What is transport network substrate (tns) in oracle?
 How to use an oracle sequence generator in a mapping?
What is recycle bin in Oracle?
How to define default values for formal parameters?
How we can able to import our own template (users designed MS-Word templates) which has many tabular columns; need to pass some values generate by Oracle-reports9i? Actually need to import more than 400 MS-Word templates into Oracle Reports-9i to minimize layout design in Reports.
What are the major difference between truncate and delete?