How to retrieve 5th highest sal from emp table?

Answer Posted / venubabu

Select level,Max(sal) from emp
Where level=&level connect by prior sal>sal
group by level;


sql>Enter value for level:5

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens to the data files if a tablespace is dropped?

575


How to turn on or off recycle bin for the instance?

609


what is the difference between functional dependecy and multilevel dependency?

1992


How can you tell how much space is left on a given file system and how much space each of the file systems subdirectories take-up?

2392


How to enter a new row into a table interactively?

548






How to retrieve values from data fields in record variables?

568


In SAP ECC 6.0 , under DB02 tcode , Tablespace name to be explain stepy step all the col

3700


What is an oracle database table?

594


How to create an oracle database?

582


Does oracle database need java?

520


Explain an integrity constrains?

696


What happens to the current transaction if a ddl statement is executed?

578


What is meant by a deadlock situation?

577


Write a trigger example in oracle?

573


Give the advantages and disadvantages of clusters.

572