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 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 ...

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