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
---------------Describe OLAP Reporting and RDBMS Reporting?
Can you define confirmed dimension?
3. The vice president of sales has requested a graphical display of the same information provided in our last crosstab report (whatever I mentioned in above question) for an up coming presentation. We need to provide a chart report that shows which regions generate the most revenue and sales volume.
What is Metrics designer?
How can we Maintain the Cube Security by Category level and Dimension level ?
what is the use of backward drilling in cognos 8?is it possible?whats the uws of it?
I have created a database "TestingDB" in MS SQL Server 2005. I have set the port properties and the Cognos Service is up. But I don't see anything in the Cognos. In the administration i have set the ODBC connection and it tested successfully.If i copy the samples to the appropriate directory then i can see the samples.But I don't know how to do the same thing with my own database "TestingDB". As i have configure the cognos in my company which is having a database (very near to production database).I am a novice in cognos. Please help me out.
What is meant by Reportstudio shortcut?
Suppose you run a report with empty data, how will you inform the end user that it has no data while running the report in report studio? Is it possible, if so how?
How do you call a store procedure within a transformation?
Can you define folder?
what r the reports u faced critical and how it can be solved .. any once can u give a best ans for interviw
Write various indexes used in cognos?
Hi.. friends, dis Bhaskar p.if any of u having realtime scenerios.. plz send to me.. my mailid s bhaskarparitala.rao@gmail.com send ASAP.. waiting for reply..
What is the difference between drill through, drill across?