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

How long does it take to learn pl sql?

1107


What is thread join () in threading?

1057


Explain what is rdbms?

1091


What jobs use sql?

1033


Can a varchar be a primary key?

1049


How to return multiple rows from the stored procedure?

1017


What are pl sql procedures?

1081


Can we call a function containing dml statements in a select query?

1026


What are sql built in functions?

981


Explain what is a database?

1136


How to rename a table?

1077


Is null operator in sql?

1094


What are the advantages of pl sql over sql?

1078


What are the ways on commenting in a pl/sql code?

1206


What is sqlite format?

1266