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

How to get second top scorer student from a class- table
having different sections A, B, C & D? each section has same
number of student.

Answer Posted / wkm

proc sort data=table;
by section descending score;
run;

data table2;
retain tot 0;
set table;
by section descending score;

if first.section then tot=1;
tot+1;

if tot=2;
run;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

4591


How do you use the do loop if you don’t know how many times you should execute the do loop?

1295


what is SAS OPTIMIZATION?

2348


What are the advantages of using sas?

1189


What is the SAS data set?

1173


How to test the debugging in sas?

1239


What does the trace option do?

1159


Differentiate between proc means and proc summary.

1098


how do you test for missing values? : Sas programming

1094


what is the use of sas management console? : Sas-di

1138


what is change analysis in sas di ? : Sas-di

1107


What is the use of the %include statement?

1210


Give some examples where proc report’s defaults are different than proc print’s defaults?

1130


What are symget and symput? : sas-macro

1364


what is program data vector? : Sas-administrator

1120