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
Explain what is the difference between microstrategy and cognos reporting tool?
what is a prompt value in report studio and variables ?
What is difference between data mart and data warehouse?
Can you define a datastore in cognos?
what are the dimensions that you have in your current project?list them?
What DB View and Bus View?
What is dtm?
what is requery in cognos?
1. Explain your project.
Which studio is used to create reports?
What is the size of database for you project?
What are all the types of gateway used in Cognos?
Can you explain dynamic query mode?
WHAT ARE THE DISTNICT VARIABLES?
Can you define bitmap index?