write the sql query to display 5th and 10th row in a table?
Answers were Sorted based on User's Feedback
Answer / lakshmi reddy
select * from(select emp.*,rownum r from emp) where r=5 or r=10
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / kart
select * from (select rownum as rn,aone.* from aone)
where rn in(5,10);
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / gautam ramteke
select *
from(select rt.*,rownum r from (select * from gpr_employee
order by hire_date)rt)
where r in (5,8);
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / harish
select * from emp where rownum<=&n;
if u give 5 insted of 'n' we get 5th record...
| Is This Answer Correct ? | 1 Yes | 1 No |
What will happen if scheduling a report with a prompt page?
what is materialised view? why we use it in data warehousing?
what are determinants?
4 Answers College School Exams Tests, IBM,
How to upgrade drivers in Cognos 8?
can you apply grouping on crosstab?
Explain about embedded & standalone filters?difference between them
What are the components of report net?
what is slowly growing dimension??
How u provide security to reports in report studio or in cognos connection?
wt is tupple , Embed function ? wt is regular dimension ?
Wht is difference between content store and content manager?
2 Answers Satyam, Tech Mahindra,
Can we create 2 conditions in report expression of a single data item..Eg: I added 2 new dataitems each one should show revenue for Q1 and Q2..Pls advice