Save up to $499! Grab all Python courses for $49 or all online courses we’ve ever launched for only $169. Only Feb 11-16. Happy Valentine's!
Introduction
GROUP BY – Recap
ROLLUP
Summary

Instruction

Good! Now it's your turn.

Exercise

Show how much was spent on average:

  • In each Category on each day
  • In each Category
  • On each day
  • In general

Show the following columns: Category, DeliveryDate, and the average TotalPrice (as AvgPrice).

Stuck? Here's a hint!

Use:

GROUP BY ROLLUP(DeliveryDate), ROLLUP(Category)