Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


write the sql query to display 5th and 10th row in a table?

Answers were Sorted based on User's Feedback



write the sql query to display 5th and 10th row in a table?..

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

write the sql query to display 5th and 10th row in a table?..

Answer / kart

select * from (select rownum as rn,aone.* from aone)
where rn in(5,10);

Is This Answer Correct ?    6 Yes 0 No

write the sql query to display 5th and 10th row in a table?..

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

write the sql query to display 5th and 10th row in a table?..

Answer / gopal

By using rank or dense_rankl()

Is This Answer Correct ?    1 Yes 0 No

write the sql query to display 5th and 10th row in a table?..

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

Post New Answer

More Cognos Interview Questions

How to convert the tabular report into graphical report?Is this possible in cognos 8 report studio?

3 Answers   IBM, TCS,


What is dtm?

0 Answers  


How security is concerned with Reportnet? Explain its implementing steps.

0 Answers   iFlex,


What you mean by drill across and what is the difference between drill through, drill across?

0 Answers  


What is portal page?

5 Answers   TCS,


if we have a value prompt in a prompt page and if we need to pass that prompt value to a sql used in report, what is the sql code? give me example?

3 Answers   ComNet,


Can you define drill across?

0 Answers  


How many reports did you create in your project?

3 Answers   IBM,


9. What was the most complex type of report you dealt with?

0 Answers  


How do add dynamic titles in PP?

3 Answers  


What are the components used in web tier?

0 Answers  


what is render variable

5 Answers   Accenture, Cap Gemini, Systime, TCS,


Categories