nerdexam
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

1Z0-071 question #181 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)
  • A
    6% (2)
  • B
    75% (24)
  • C
    6% (2)
  • D
    13% (4)

Community Discussion

No community discussion yet for this question.

Full 1Z0-071 Practice