nerdexam
SAS_Institute

A00-211 · Question #173

Given the data set WORK.EMPDATA: Which one of the following where statements would display observations with job titles containing the word 'Manager'?

The correct answer is D. where Job_Title like '%Manager%'. See the full explanation below for the reasoning.

Question

Given the data set WORK.EMPDATA:

Which one of the following where statements would display observations with job titles containing the word 'Manager'?

Exhibit

A00-211 question #173 exhibit

Options

  • Awhere substr(Job_Title,(length(Job_Title)-6))='Manager';
  • Bwhere upcase(scan(Job_Title,-1,' '))='MANAGER';
  • Cwhere Job_Title='% Manager ';
  • Dwhere Job_Title like '%Manager%';

How the community answered

(23 responses)
  • A
    13% (3)
  • B
    4% (1)
  • C
    4% (1)
  • D
    78% (18)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice