nerdexam
Oracle

1Z0-071 · Question #293

Examine the description of the PRODUCT_INFORMATION table: Which query retrieves the number of products with a null list price?

The correct answer is D. SELECT COUNT(NVL(list_price, 0)) FROM product_information WHERE list_price IS NULL. See the full explanation below for the reasoning.

Question

Examine the description of the PRODUCT_INFORMATION table:

Which query retrieves the number of products with a null list price?

Options

  • ASELECT COUNT (DISTINCT list_price) FROM product_information WHERE list_price IS NULL;
  • BSELECT COUNT (list_price) FROM product_information WHERE list_price IS NULL;
  • CSELECT COUNT (list_price) FROM product_information WHERE list_price = NULL;
  • DSELECT COUNT(NVL(list_price, 0)) FROM product_information WHERE list_price IS NULL;

How the community answered

(21 responses)
  • A
    10% (2)
  • B
    5% (1)
  • C
    5% (1)
  • D
    81% (17)

Community Discussion

No community discussion yet for this question.

Full 1Z0-071 Practice