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

You have a data set of 100 observations,how can you
restrict the output so that the output has only data from
row no. 10 to row no. 20

Answer Posted / amit gupta

SELECT *
FROM (SELECT ROWNUM srno, a.*
FROM emp a)
WHERE srno >= 10 AND srno <= 20

/

SELECT *
FROM (SELECT ROWNUM srno, a.*
FROM emp a)
WHERE srno between 10 and 20

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between SAS functions and procedures?

1144


what does the run statement do? : Sas programming

1044


what is PhaseIII, ODS, TLG, Macro and Proc in SAS

4510


explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di

1063


How do you specify the number of iterations and specific condition within a single do loop?

1098


Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro

1192


What are the data types does SAS contain?

1104


Differentiate between format and informat? : sas-grid-administration

1055


describe about physical data integration? : Sas-di

1040


name the scheduler for scheduling job and explain the scheduler? : Sas-di

1045


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

1073


What is maximum number of rows and cols can be handled in SAS?

1576


Explain what is the use of proc gplot?

1191


What is the difference between INPUT and INFILE ?

1310


which date functions advances a date time or date/time value by a given interval? : Sas programming

944