Chapter 2: Performing Advanced Queries Using PROC SQL

  1. Correct answer: d
    To remove duplicate values from PROC SQL output, you specify the DISTINCT keyword before the column name in the SELECT clause.
  2. Correct answer: d
    To list rows that have no data (that is, missing data), you can use either of these other conditional operators: IS MISSING or IS NULL. The NOT EXISTS operator is used specifically with a subquery, and resolves to true if the subquery returns no values to the outer query.
  3. Correct answer: b
    When a WHERE clause references a new column that was defined in the SELECT clause, the WHERE clause must specify the keyword CALCULATED before the column name.
  4. Correct answer: c
    To determine how PROC SQL calculates and displays ...

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.