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

Answer Posted / dhanu

SELECT DISTINCT SAL FROM EMP E WHERE 5>=(SELECT COUNT(DISTINCT SAL) FROM EMP A WHERE A.SAL<=E.SAL)ORDER BY SAL DESC

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 the difference between a cascading report and drill through report?

744


Can you define cognos impromptu?

718


What do you understand by ‘ibm predictive maintenance and quality’?

643


Why are meta service important then other services?

661


Can you define cognos powerplay?

728






Looking for IBM COGNOS Certification C1000-065 , C2020-605 , C2090-621 , C2090-623 Dumps?

751


what is stitch query in reportnet?

719


Define the slice and dice?

665


Hi, I'm planning to write COG-132 exam so looking out for dumps. If anybody is having then please e-mail me at afrinshaikh86@gmail.com. your help would be appreciated. -Regards Afrin

1786


What are the ways to import data into catalog?

724


What are the components of report net?

845


how to connect datamarts

2454


-------------What is Coditional Prompting?

1695


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?

1627


What do you understand by the cognos?

620