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

Answer Posted / karthik murugeshan

SELECT B.Salary FROM (SELECT Salary FROM EMP)A,(SELECT
Salary FROM EMP)B
WHERE A.Salary>=B.Salary
GROUP BY B.Salary
HAVING COUNT(B.Salary)=5

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by the term 'aggregate advisor?'

630


------------------What is Inline Query?

1878


How to do Performence Tunning in Cognos Reports?

2149


What is the use of Cognos scenario?

822


Define report item?

764






What are the components of the report studio?

743


What is Additive function?

1648


How do we drill through from a powerplay cube to reportnet?\

1984


What is a Folder?

795


If we are migrating lower version of Cognos reports (e.g. from Ver 7.0 to Cognos 8) then how we migrate Impromptu Catalog (ver 7.0) in Cognos 8? Do we create FM model for that? Please explain.

1790


What is the difference between a cascading report and drill through report?

744


What is the difference between a cascading report and drill through the report?

823


How the Bursting happens in same report and how to Print the bursting Report?

1522


Can you define a query subject?

692


what are the difficult problem are you involved in cognos report net and 8 and impromptu if any pls share with us

2628