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 Inline Query?

1878


Can you explain dynamic query mode?

695


Can we test the report other than manual testing?

1778


How to do Performence Tunning in Cognos Reports?

2149


What are the different kinds of panes included in cognos?

668






--------------Diff b/w ODS and OLAP?

2858


How to a create header dynamically in a crosstab report in cognos 8.1?

2075


What is difference between informatica power mart and power center?

647


please can you give me some banking domine calculations developed in framework manager plzzzzz thank you.

1846


how to perform back drill through in cognos 8 what is the use of it

2138


What is the use of report studio?

693


Can you explain a cognos controller?

688


what are all the versions of cognos and cognos8 as well as mention all the advantages nd disadvantages in cognos8 versions. any one plz answer this question.

2110


hi, this is harish. i had finsihed cognos course recently.can some one help in the area of project explination, interview questions,real time scenarious....this is my maild id nanagupta907@gmail.com

1613


What is defined as catalog and types of catalogs in Cognos?

669