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

what is sas and what are the functions? : Sas-administrator

931


what techniques and/or procs do you use for tables? : Sas programming

994


What is maximum storage capability of SAS?

1352


How do you convert basic cube to transaction cube and transaction cube to basic cube?

2185


Where do you use proc means over proc freq?

1053


Hi, If anyone has base SAS certification dumps, please share.

1807


what is program data vector? : Sas-administrator

1012


What are the prime responsibilities of data integration administrator? : Sas-di

1002


Name any two sas spawners? : sas-grid-administration

980


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

1106


Mention the category in which sas informats are placed?

976


Are you involved in writing the inferential analysis plan? Tables specfications?

2507


how does sas handle missing values in assignment statements? : Sas programming

969


How many ways to overcome a missing values???

2752


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

1012