You need to create an In List that it is to be later used in
a Where Clause that includes all the Regions that begin with
the letter A from the sashelp.shoes table. Using PROC SQL
with an into clause create the following string from the
sashelp.shoes table using the variable region
“AFRICA”,”ASIA”,…..

Answer Posted / ragg

here is the code for your question.
proc sql;
select *
from sashelp.shoes
where Region like 'A%';
quit;
it will list out all letters starting with 'A'in region variable.

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is proc sort?

720


How we can create SAS USER DEFINED CODE?

1614


What is the general format of function in sas? : sas-grid-administration

571


In sas admin differentiate between roles and capabilities? : sas-grid-administration

557


which features do you use to check the data validations and errors? : Sas-administrator

549






What is factor analysis?

663


how do you test for missing values? : Sas programming

581


Differentiate input and infile.

596


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

1683


What are common programming errors committed in sas

674


What are the differences between sum function and using “+” operator?

576


what is hash files in sas and why we are using this one in sas?

1732


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1327


Which command is used to save logs in the external file?

570


how does sas handle missing values in functions? : Sas programming

601