Quiz

Select the best answer for each question. After completing the quiz, check your answers using the answer key in the appendix.
  1. Which of the following PROC SQL steps creates a new table by copying only the column structure (but not the rows) of an existing table?
    1. proc sql;
         create table work.newpayroll as 
            select *
               from sasuser.payrollmaster;
    2. proc sql;
         create table work.newpayroll 
            like sasuser.payrollmaster;
    3. proc sql;
         create table work.newpayroll 
            copy sasuser.payrollmaster;
    4. proc sql;
         create table work.newpayroll 
            describe sasuser.payrollmaster;
  2. Which of the following PROC SQL steps creates a table that contains rows for the level-1 flight attendants only?
    1. proc sql; create table work.newpayroll as select * from ...

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.