QuestionQ46
VerifiedRestricting and Sorting DataRefer to the exhibit and review the PROMO_CATEGORY and PROMO_COST column data in the PROMOTIONS table.

Consider these two queries:
SQL>SELECT DISTINCT promo_category to_char(promo_cost)"code"
FROM promotions -
ORDER BY code;
SQL>SELECT DISTINCT promo_category promo_cost "code"
FROM promotions -
ORDER BY 1;
Which statement is true about executing the preceding queries?
Community Discussion