Write a SQL query which should fetch the 5th maximum salary
of an employee from the table?

Answer Posted / pradeep nagireddy

select *
from(select rownum r,sal from emp order by sal desc)
where rownum = 5;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cognos powerhouse?

581


what are the names of the reports that you prepared?

620


Why cognos scenario is used?

577


How to generate the Catalog in Cognos? Basically all post describing generating the Catalog from cognos impromptu . Is there any way to generate the Catalog using Cognos Administration or Framework Manager?

1538


Can you define dimension?

635






Can you define cognos impromptu?

624


What is meant by alternate drill down with ex?

619


What are products of cognos?

552


what are the features in cognos8ui

1552


What is a dimension?

625


What are the components of report net?

724


faq's on cognos

3623


How to join multiple db in catalog?

566


is there any difference between operational database and data base?if yes what r they?

1584


What is difference between content store and content manager?

540