QuestionQ111

VerifiedRestricting and Sorting Data

Review the definition of the PROMOTIONS table:

Question Image

You need to display the distinct promotion costs within each promotion category. Which two queries can be used?

Choose two
Explanation

DISTINCT can be applied to a single concatenated expression or to the selected pair of PROMO_CATEGORY and PROMO_COST columns. Both forms remove duplicate category-and-cost combinations while retaining costs separately for each category.

Community Discussion

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