write a query to display to 10 max record from the employee
table?
Answer Posted / rajasivam.p
To find nth value
select salary from emp a where &n=(select count(distinct
salary) from emp b where a.empno<=b.empno);
to find max by nth value a.empno<=b.empno
to find min by nth value a.empno>=b.empno
OR
To find 10 max records
select * from (select * from emp order by salary desc) where
rownum<=&n;
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is Additive function?
Give me any example of semi and non additive measures?
How create measures and dimensions?
How can I schedule reports in cognos?
What are the different types of important services used in cognos?
Cognos Online Training will be provided. prior training with all real time aspects. Comprehensive training will be given in Datawarehousing concepts , cognos 8.4 and cognos 10 versions. Contact kris.cognos25@gmail.com
can anybody explain me about sales project in cognos..wt is the requirement,how u get the requirement..explain me any one based on ur experience as a report developer..how much time u will take to complete one project,single person in a team have to do how many reports..in a real time how much time will take to complete reports ie..one single report.. (simple and complex report)and in real time ur project contains how many fact tables and dimension tables..how many query subjects and query items..wt functional area u worked on.. hope u vl respond as soon as possible ..my mail- id is ammu2india@gmail.com
What is the importance of having monitor service in cognos?
How do we drill through from a powerplay cube to reportnet?\
------------------What is Inline Query?
how to test reports in cognos?
-----------With out using DrillThrough how to do Reports?
Cleared COG-112 with 100% score today. What next certification should i go for?
how u will design the report if the objects are available
please please give me some banking calculations in framework manager.