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
how can I test reports in cagnos?
How to deploy from one server to another server?
How to create a cube in Transformer? What is the process? Please mention process thank u
What is the use of powerplay web viewer in cognos?
how you migrate reports to cognos 8 from previous versions?
How create measures and dimensions?
Source table has 5 rows. Rank in rank transformation is set to 10. How many rows the rank transformation will output?
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 a Framework manager?
What are the advantages of shortcuts?
what is hints in cognos and where we use it.
i have one file i saved in csv how can i take these file into framework manager
Define metrics studio?
how to perform back drill through in cognos 8 what is the use of it
What is the use of powerhouse?