
Complete SAS Programming Guide - Learn SAS and Become a Data Ninja - WHERE Clause
Interactive Video
•
Information Technology (IT), Architecture, Social Studies
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the condition 'pay per hour > 80' if John's pay is 80?
John is included if he has a bonus
John is not included
John is included
John is included only if he works overtime
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which logical operator is evaluated first if no parentheses are used?
NOT
AND
XOR
OR
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want to select employees from departments A or D with a pay of at least 80, which condition is correct?
department = 'A' OR department = 'D' AND pay >= 80
department = 'A' OR (department = 'D' AND pay >= 80)
(department = 'A' OR department = 'D') AND pay >= 80
department = 'A' AND department = 'D' AND pay >= 80
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why are parentheses important when using logical operators?
They help in commenting the code
They change the order of evaluation
They make the code look cleaner
They are required for all SQL queries
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which special operator would you use to find names containing a specific sequence of letters?
IN
CONTAINS
BETWEEN
LIKE
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the IN operator do?
Checks if a value is within a range
Checks if a value matches any value in a list
Checks if a value is greater than another
Checks if a value is less than another
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator would you use to check if a column value is one of several specified values?
CONTAINS
BETWEEN
LIKE
IN
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?