write a query to display the third record from the employee
table?
Answers were Sorted based on User's Feedback
Answer / m m naidu
To display the 3rd record of emp table we can write query as
select * from emp where rownum<4 minus select * from emp
where rownum<3;
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / srinu
select * from (select rownum r,emp.* from emp) where r=3;
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / j
select * from emp e where 3=(select count(sal) from emp
where e.sal>sal)
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / i.anil
select a.*,rownum from
(select b.*,rownum rk from
(select * from emp )b)a where rk=3;
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vsandhyana
select top 1 * from (select top 3 * from employee order by
employeeid desc) emp
Thanks
Vsandhyana
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ammu
select * from emp e where 4=(select count(sal) from emp
where e.sal>sal)
Because it follows n-1 rule..
| Is This Answer Correct ? | 0 Yes | 0 No |
How can we convert imr report into Impromptu web report?
if a page have 3different layouts(list,crosstab,chart)can you show the 3 leyouts in 3 different formates (pdf,excel,csv)?
What is a business view? and what is the difference b/w business view and folder?in cognos report life cycle when it will be involved ?
When we save a report in report studio with what extn it save?
HOW MANY LEVELS CAN BE USED IN DRILL THROUGH REPORTS
What condition do we use in Cognos when multiple path exits to reach the fact table.(i.e in BOXI we use CONTEXT when multiple path exit)
whis meant by Thumbnails on cagnos?
Hi Experts, Can a single package be shared by multiple users?
is there any possibility to hide items other than render variable?
What is conditional styling? a.format applied based on filter b.format applied based on user c.format applied based on on condition d.all the above 2. For a company X, actual revenue and budgeted revenue are captured in two tables Fact_Ac_Rev and Fact_Bud_rev. Both are at diff levels of granularity (Fact_Act is month and budget @ quarter leve )and there is one common Time dimension, A report is created to show the actual and budgeted revenue 2gther but the data for budgeted is wrong. Which should be doing for rectifing the error? a. create determinants for month and quarter b. join the two table facts into a single fact c. Create 2 time dimensions @ FM d. Need to create 2 separate reports as the required info cant be shown using a single report. 3. Template in a Query Studio? a. sample Data set b. CSS c. A standard that applies for all reports d. None of the listed options 4.you are a report author @ the Company, which sells sporting equipment 5. Sales person in different regions each need a report showing sales target for each country. which of the following is the best way to distribut? a. Email b. Bursting c. storing in public folders d. All the above. 6. I)A query subject behave as a dimensional in one query and fact in other query. ii) Queries with more than one fact results in stitched query. iii) Cognos identifies a query subject as Fact based only on the measure a. ii only b. i only c. both i and ii d. iii only 7. what is meant by pivoting? a. making a stacked set b. swapping rows into columns c. making column as filter d. none of the above 8. A report cant be viewed in which? a. CSV b. XML c. ASCII d. Excel 9.A user wants to retriv all products which are not sold for last X days. Which prompt is used? a. Time b. Value c. Text d. Interval 10. Dispatcher? a.routes request to appropriate services and start services b. routes request to appropriate services c.starts all service d. none of the abv Frenz Please help me out !!! :) Thanks in Advance
write a query to display the departments with no employee?
can any one say the which is the best performance in framework manager