O'Reilly logo

SAS Certification Prep Guide, 4th Edition by SAS Institute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Quiz

Select the best answer for each question. After completing the quiz, check your answers using the answer key in the appendix.
  1. Which PROC SQL query removes duplicate values of MemberType from the query output, so that only the unique values are listed?
    1. proc sql nodup;
         select membertype
            from sasuser.frequentflyers;
    2. proc sql;
         select distinct(membertype) 
                as MemberType
            from sasuser.frequentflyers;
    3. proc sql;
         select unique membertype
            from sasuser.frequentflyers
            group by membertype;
    4. proc sql;
         select distinct membertype
            from sasuser.frequentflyers;
  2. Which of the following causes PROC SQL to list rows that have no data in the Address column?
    1. WHERE address is missing
    2. WHERE address not exists
    3. WHERE address is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required