QuestionQ129

VerifiedReporting Aggregated Data Using the Group Functions

Review the description of the PRODUCT_INFORMATION table:

Question Image

Which query returns the number of products that have a null list price?

Explanation

COUNT(expression) counts only non-null expression values. After filtering for rows where LIST_PRICE IS NULL, NVL(list_price, 0) converts each null price to 0, so every matching product is counted.

Community Discussion

No comments yet. Be the first to start the discussion!