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 / chandu

DATA ONR;
INPUT
@1 a
@3 b
@5 c
@7 d
;
SUM_VALUE =SUM (A, B, C, D);
RUN;
PROC SORT DATA=ONE NODUPKEY;
BY SUM_VALUE;
RUN;
DATA ONE_RESULT;
SET SUM;
IF _N_ = 2 THEN OUTPUT;
RUN;

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com

2718


Tell me about % include and % eval? : sas-macro

1146


what can you learn from the sas log when debugging? : Sas programming

1096


What sas features do you use to check errors and data validation?

1225


Give an example where SAS fails to convert character value to numeric value automatically?

1094


AE datasets names? how many types?

2508


What can be the size of largest dataset in SAS?

1234


How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?

1544


What commands are used in the case of including or excluding any specific variables in the data set?

1098


For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration

1017


Explain the main difference between the sas procedures and functions? : Sas-administrator

1079


Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.

1881


What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?

2590


what is transformation in sas data integration? : Sas-di

1038


how to remove duplicates using proc sql?

1152