There are 200 observations in a dataset, i want to pull out
the observation no's 100, 150,180,190 by using Proc SQL? How
you can get it?
Answer Posted / pranoy tikadar
PROC SQL;
SELECT*,
MONOTONIC() AS COUNT
FROM TEST
HAVING COUNT IN(100,150,180,190);
QUIT;
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
how does sas handle missing values in functions? : Sas programming
what is sas database server? : Sas-di
In proc transpose and data step with arrays which one you pick?
How do you debug and test your SAS programs?
what is operational data and operational system? : Sas-di
How do dates work in SAS data?
how can you put a "trace" in your program? : Sas programming
How to limit decimal places for the variable using proc means?
For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
Did you used proc test? when?
what is metadata? : Sas-bi
explain the difference between proc means and proc summary?
What is the use of PROC gplot?
How necessary is it to be creative in your work?