nerdexam
Oracle

1Z0-071 · Question #22

Examine the structure of the members table: Which query can be used to display the last names and city names only for members from the states MO and MI?

The correct answer is C. SELECT last_name, city FROM members WHERE state IN ('MO', 'MI'). See the full explanation below for the reasoning.

Question

Examine the structure of the members table:

Which query can be used to display the last names and city names only for members from the states MO and MI?

Exhibit

1Z0-071 question #22 exhibit

Options

  • ASELECT last_name, city FROM members WHERE state ='MO' AND state ='MI';
  • BSELECT last_name, city FROM members WHERE state LIKE 'M%';
  • CSELECT last_name, city FROM members WHERE state IN ('MO', 'MI');
  • DSELECT DISTINCT last_name, city FROM members WHERE state ='MO' OR state

How the community answered

(57 responses)
  • A
    9% (5)
  • B
    5% (3)
  • C
    84% (48)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-071 Practice