• select non-aggregated expressions: product_id, purchase_date
  • group by specifies only purchase_date
  • The group by expressions, and the non-aggregate select expressions must match.