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 |
Hi all, i have a requirement in Conditional drill through. I have a list report with Cities India, UK, USA, China, japan, Canada.... In the above cities i want to give Hyperlinks(Drill) for Only India & UK. Could you please send me the steps????
Whrer u can save the Report net documentation in our local system?
how will optimiz the performance of sql in FM ?
what are slowly changing dimensions? Why we are used scd?
write the sql query to display 5th and 10th row in a table?
how many facts and dimensions in ur project and query items,how u deliver ur report to end users..i am going with fake exp...pls ans me generally what to ans..
What is the advantage of using shortcuts?
What are user classes?
i have 4 countries in my database as USA, UK, INDIA, CHANA. In value prompt's prompt control list, i want WESTERN_COUNTRIES, ASIAN_COUNTRIES instead of those country names. When i click on WESTERN_COUNTRIES, it should retrieve USA, UK records and when i click on ASIAN_COUNTRIES, it should retrieve INDIA, CHINA records. How is it possible?
What is power prompts?Can somebody explain me.
Diff b/w surrogate Key and Primary Key?
How can we migrate from Businees Objects reports to Cognos 8.x??