QuestionQ146

VerifiedReporting Aggregated Data Using the Group Functions

Review the definition of the PROMOTIONS table:

Question Image

You need to display the distinct promotion costs for each promotion category.

Which two queries can be used?

Choose two
Explanation

DISTINCT removes duplicate selected values. It can be applied to a single concatenated expression that represents a category and cost, or to the combination of PROMO_CATEGORY and PROMO_COST, producing one result for each unique category-cost pair.

Community Discussion

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