
Complete SAS Programming Guide - Learn SAS and Become a Data Ninja - More on the WHERE Expression/Statement
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one advantage of using the WHERE expression over the IF-THEN statement?
It is more readable.
It requires less memory.
It is easier to write.
It can be used in PROC steps.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which scenario does the WHERE statement not create a new dataset?
When used in a macro.
When used with IF-THEN logic.
When used in PROC SQL.
When used in a DATA step.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct syntax for using the WHERE statement in PROC SQL?
proc sql; select total from sales and total > 50;
proc sql; select total from sales when total > 50;
proc sql; select total from sales if total > 50;
proc sql; select total from sales where total > 50;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can the WHERE statement be used as a data set option?
By using it in the SELECT clause.
By including it in parentheses after the dataset name.
By using it in the PRINT statement.
By placing it before the dataset name.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method allows the WHERE statement to be used in both data and PROC steps?
Using it only in the DATA step.
Using it as a data set option.
Including it in both data and PROC steps.
Using it only in PROC SQL.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?