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 certadv.frequentflyers; quit;
-
proc sql; select distinct(membertype) as MemberType from certadv.frequentflyers; quit;
-
proc sql; select unique membertype from certadv.frequentflyers group by membertype; quit;
-
proc sql; select distinct membertype from certadv.frequentflyers; quit;
-
-
Which of the following causes PROC SQL to list rows that have no data in the Address column?
-
WHERE address is missing
-
Get SAS Certified Professional Prep Guide 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.