QuestionQ47
VerifiedRestricting and Sorting DataRefer to the Exhibit and review the data in the PROMO_CATEGORY and PROMO_COST columns of the PROMOTIONS table.

Evaluate 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 execution of the preceding queries?
Community Discussion