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

How can I remove header from output data set?

2621


How will you use the WHO Drug Dictionary for Reporting Clinical Trials?

2337


what is sas business intelligence? : Sas-bi

1178


explain the main difference between the nodup and nodupkey options? : Sas-administrator

1162


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?

1099


for whom is sas data integration studio designed? : Sas-di

1002


what is hash files in sas and why we are using this one in sas?

2217


What is the difference between the proc sql and data step?

1173


What are the differences between sum function and using “+” operator?

1105


How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?

2459


Describe the ways in which you can create macro variables? : sas-macro

1067


Of all your work, where have you been the most successful?

4668


What is the difference between match merge and one to one merge?

1247


What are the difference between sas functions and procedures?

1153


How would you include common or reuse to be processed along with your statements?

2368