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 is use of Field Set present in toolbox?
What is Cardinality
What are the types of hierarchies?
What are the steps involved in migrating CRN enviroment to Cognos 8?
3 Answers BMW, Goyal Group, Mersan,
What are the components of report net?
what are slowly changing dimensions? Why we are used scd?
Explain is there any comparison available for cognos reportnet vs crystal reports?
what is the difference between Cognos EP7 series and Congos8?
What is minimum version of internet explorer to run the Cognos report.
Explain the different stages in creating a report in cognos report net?
What are products of cognos?
what is the security module used in cognos?