nerdexam
Oracle

1Z0-047 · Question #234

View the Exhibit and examine the data in the PRODUCT_INFORMATION table. There are some products listed in the PRODUCT_INFORMATION table that have no value in the LIST_PRICE column. You issued the…

The correct answer is C. Change the WHERE clause to WHERE list_price IS NULL. See the full explanation below for the reasoning.

Question

View the Exhibit and examine the data in the PRODUCT_INFORMATION table. There are some products listed in the PRODUCT_INFORMATION table that have no value in the LIST_PRICE column. You issued the following SQL statement to find out the PRODUCT_NAME for these products:

SELECT product_name, list_price FROM product_information WHERE list_price = NULL; The query returns no rows. What changes would you make in the statement to get the desired result?

Exhibit

1Z0-047 question #234 exhibit

Options

  • AChange the WHERE clause to WHERE list_price = 0
  • BChange the WHERE clause to WHERE list_price = ''.
  • CChange the WHERE clause to WHERE list_price IS NULL.
  • DIn the WHERE clause, enclose NULL within single quotation marks.
  • EIn the WHERE clause, enclose NULL within double quotation marks.

How the community answered

(36 responses)
  • A
    3% (1)
  • B
    17% (6)
  • C
    72% (26)
  • D
    6% (2)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-047 Practice