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

What can you do with pl sql?

1097


How can I get the number of records affected by a stored procedure?

1067


What does over partition by mean in sql?

985


Define concurrency control. : Transact sql

1193


What are sql ddl commands?

1099


What is rowid in sql?

991


Which sorts rows in sql?

1025


How many postgresql users are there, worldwide?

1069


What is dynamic sql in pl sql?

1040


what are the advantages and disadvantages of views in a database? : Sql dba

1043


What is mutating trigger?

1028


What is compilation error in pl sql?

985


What is the difference between database trigger and stored procedure?

1080


What is Histogram?

1564


what is not null constraint? : Sql dba

1039