in data set200 observation how to take 110,150,170 using sql procedure?

Answer Posted / ram

We have number of options to select or retrieve the data
data part_of;
/*do slice = 100,200,300,400,550,600,700,800,900;*/
do slice = 100 to 900;
set example_1 point=slice;
output;
end;
stop;
run;
Proc Sql;
Select *,monotonic ()as c from example_1
group by date having c in (110,150,170,190);
quit;
Proc Sql;
Select *from example_1
group by date having date in (100,150,180,190);
quit;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give e an example of..

1974


What do you know about sas data set?

687


how do you debug and test your sas programs? : Sas programming

676


Describe the function and utility of the most difficult SAS macro that you have written?

2120


how are numeric and character missing values represented internally? : Sas programming

724






State the difference between INFORMAT and FORMAT ?

686


Mention what is PROC in SAS?

718


Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?

1857


how can you import .csv file in to sas? : Sas programming

735


Explain proc univariate?

692


How would you determine the number of missing or nonmissing values in computations?

735


Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager

1707


What is the difference between the proc sql and data step?

749


what are all the reports you generated in your recent project?

1793


how can you create zero observation dataset? : Sas programming

755