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
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)- A9% (5)
- B5% (3)
- C84% (48)
- D2% (1)
Community Discussion
No community discussion yet for this question.
