Write a SQL query which should fetch the 5th maximum salary
of an employee from the table?
Answer Posted / hashmatulla baig
SELECT empno, sal
FROM
(
select empno, sal, ROW_number() OVER (order by sal desc) R
from emp
order by sal desc
)
WHERE R = 5;
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Please Answer this Questions: 1.In FWM We have to create Hierarchies, Condition is we don't know the correct levels in the Hierarchies, in this case how can we find out the levels (year->Quarters->month->day)in data? 2. In FWM Standalone Filter is for Reusable purpose & Embedded Filter we cant resuse.but is this possible to convert the Embedded filter to standalone filter? 3.What are the differences between Relational Database Model & Multi Dimensional Database? 4.In Drill Down/ Drill Up, How to specify the limits for example in a report there is 6 Drill down is possible, but i want only 3 Drill downs, the report should not allow 4 Th Drill Down.How to make this ? 4. What are the limitations in Select and Search Prompt ?
Can you define framework manager?
HI, If anybody is having C2020-625 - IBM Cognos 10 BI Data Warehouse Developer, kindly send the same to shiju.rajs@gmail.com. Thanks
What is the difference between Standard and Metrics folder?
How to apply securities for reports in cognos connection?
What are the different types of reports present in cognos?
What are cognos connection initial page components?
WHAT ARE THE DISTNICT VARIABLES?
----------------Describe DWH Architecture?
What is the function of cognos dispatcher?
What do you understand by the term ‘frame manager' in cognos and write all the layers of the framework manager model?
what is hints in cognos and where we use it.
can anyone provide link to download cognos 7.2 version for download along wiht installation and configuration steps tx in advance
what r the reports u faced critical and how it can be solved .. any once can u give a best ans for interviw
What are all types of Batches?