Oracle
1Z0-071 · Question #181
View the Exhibit and examine the details of the PRODUCT_INFORMATION table. Exhibit You must display PRODUCT_NAME from the table where the CATEGORY_ID column has values 12 or 13, and the SUPPLIER_ID…
The correct answer is B. It would execute but would return no rows. See the full explanation below for the reasoning.
Question
View the Exhibit and examine the details of the PRODUCT_INFORMATION table. Exhibit You must display PRODUCT_NAME from the table where the CATEGORY_ID column has values 12 or 13, and the SUPPLIER_ID column has the value 102088. You executed this SQL statement:
Which statement is true regarding the execution?
Exhibit
Options
- AIt would not execute because the entire WHERE clause is not enclosed within parentheses.
- BIt would execute but would return no rows.
- CIt would not execute because the same column has been used twice with the AND logical
- DIt would execute and return the desired result.
How the community answered
(32 responses)- A6% (2)
- B75% (24)
- C6% (2)
- D13% (4)
Community Discussion
No community discussion yet for this question.
