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
please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??
what is factor analysis? : Sas-administrator
Describe the function and untility of the most difficult SAS macro that you have written.
what is the use of proc sql? : Sas programming
what is sas business intelligence? : Sas-bi
If you could design your ideal job, what would it look like?
What is the difference between SAS functions and procedures?
what is enterprise guide? What is the use of it? : Sas programming
What are the automatic variables for macro? : sas-macro
what is metadata? : Sas-bi
What is the general format of function in sas? : sas-grid-administration
Explain what is the use of proc gplot?
How you can read the variables that you need?
how do you debug and test your sas programs? : Sas programming
Give an example where SAS fails to convert character value to numeric value automatically?