In a shcool there are 1000 students. After completion of
every test in 6 subjects , each subject teacher submit the
marks of every student at different times and loaded in the
database commonly. How will you seperate the top two
subject marks for each each studet using SAS?
Answer Posted / hahaha
proc sort data=marks;
by name descending marks ;/*for answer 2, just change the
order*/
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
what is the one statement to set the criteria of data that can be coded in any step? : Sas programming
which features do you use to check the data validations and errors? : Sas-administrator
why is a stop statement needed for the point=option on a set statement? : Sas programming
Difference between nodup and nodupkey options?
What are the statements in proc sql?
how to remove duplicates using proc sql?
I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.
Tell e how how dealt with..
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
What is a macro routine?
List out some key concept of SAS
Mention sas system options to debug sas macros.
If money were no object, what would you like to do?
explain what is data set in sas? : Sas-administrator
How do dates work in sas?