in data set200 observation how to take 110,150,170 using sql procedure?
Answer Posted / ashish
Hey , your anwer is almost right but the only correction is
we derived the count variable by using monotonic() function
so that we have to use "calculated count" in where
statement or we can also use HAVING in palce of WHERE..
PROC SQL;
CREATE TABLE TEST AS SELECT
*,
MONOTONIC() AS COUNT
FROM TEST1
HAVING COUNT IN (110,150,170);
QUIT;
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming
What is data _null_?
what is null hypothesis? why do you consider that?
What is connection profile? : sas-grid-administration
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.
how does sas handle missing values in formats? : Sas programming
explain the difference between proc means and proc summary?
how would you determine the number of missing or nonmissing values in computations? : Sas programming
for report generation which one you used proc report or data_null_?
What is by-group processing?
What makes sas stand out to be the best over other data analytics tools?
Of all your work, where have you been the most successful?
Mention the validation tools used in SAS?
What will calendar procedure do?
Do you need to know if there are any missing values?