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

Mention common programming errors committed in sas ?

638


what r the job openings SAS for fresher graduates !

2003


what is sas business intelligence? : Sas-bi

580


Compare sas with other data analytics tools.

570


sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately

3099






What does PROC print, and PROC contents do?

707


why is sas data integration studio important? : Sas-di

553


Describe what are the different levels of administrative users in sas? : sas-grid-administration

591


how could you generate test data with no input data? : Sas programming

610


name the scheduler for scheduling job and explain the scheduler? : Sas-di

577


What are the best sas programming practices for handling very large datasets? : sas-grid-administration

556


what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming

599


what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming

577


Describe the ways in which you can create a macro variable?

610


Difference between informat and format?

631