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...

A table has 150 records. How do you retrieve 100th row to
120th row from that table ?

Answer Posted / sagar sananse

with admitCTE(AdmissionId,PatientId,RN) as
(
select AdmissionId,PatientId,Row_number() over (order by AdmissionId) as RN from tempadmit
)
select * from admitCTE where RN between 101 and 120

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is the primary key an index?

981


What can you do with pl sql?

1031


How to look at the current sql*plus system settings?

1077


Is pl sql still used?

924


What is user in sql?

966


what is a table in a database ? : Sql dba

989


How can we store rows in PL/SQL using array?

1158


what is 'trigger' in sql? : Sql dba

1009


What does fetching a cursor do?

1018


what is self join and what is the requirement of self join? : Sql dba

1075


What is a trigger in sql?

1156


What are the types of join and explain each?

984


How do you modify a trigger?

874


what is log shipping? : Sql dba

1055


Can you upgrade sql express to full sql?

994