Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
GROUP BY – Recap
ROLLUP
Summary

## Instruction

Good job! It's your turn now—try a similar exercise with the delivery table.

## Exercise

Show how much was spent on average for each category on each day and on each day in general. Show the following columns: category, delivery_date, and the average total_price (name the column avg_price). Do not show a single general average among all days and categories.

### Stuck? Here's a hint!

Use:

GROUP BY
ROLLUP(category),
delivery_date