Quiz
Select the best answer
for each question. After completing the quiz, check your answers using
the answer key in the appendix.
-
Which PROC SQL query removes duplicate values of MemberType from the query output, so that only the unique values are listed?
-
proc sql nodup; select membertype from sasuser.frequentflyers;
-
proc sql; select distinct(membertype) as MemberType from sasuser.frequentflyers;
-
proc sql; select unique membertype from sasuser.frequentflyers group by membertype;
-
proc sql; select distinct membertype from sasuser.frequentflyers;
-
-
Which of the following causes PROC SQL to list rows that have no data in the Address column?
-
WHERE address is missing
-
WHERE address not exists
-
WHERE address is ...
-
Get SAS Certification Prep Guide, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.