nerdexam
SAS_Institute

A00-212 · Question #95

Given the following SAS data set ONE: ONE COUNTRY CITY VISIT USA BOSTON 10 UK LONDON 5 USA DALLAS 10 UK MARLOW 10 USA BOSTON 20 UK LONDON 15 USA DALLAS 10 The following SAS program is submitted…

The correct answer is B. COUNTRY CITY TOTAL. See the full explanation below for the reasoning.

Question

Given the following SAS data set ONE:

ONE COUNTRY CITY VISIT USA BOSTON 10 UK LONDON 5 USA DALLAS 10 UK MARLOW 10 USA BOSTON 20 UK LONDON 15 USA DALLAS 10 The following SAS program is submitted:

proc sql; select country, city, sum(visit) as TOTAL from one group by country, city order by country, total desc; quit; Which one of the following reports is generated?

Options

  • ACOUNTRY CITY TOTAL
  • BCOUNTRY CITY TOTAL
  • CCOUNTRY CITY TOTAL
  • DCOUNTRY CITY TOTAL

How the community answered

(38 responses)
  • A
    3% (1)
  • B
    82% (31)
  • C
    11% (4)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full A00-212 Practice