db.l3.ai

Play

lessons

what-changed-in-19

editor

engine: not started

results

Run a query to see rows here.

check

ROLLUP

ROLLUP (a, b) adds subtotal rows for a, and a grand total, on top of the (a, b) groups. A NULL in a grouping column marks a subtotal row.

task

Revenue by category and by product with category subtotals and a grand total.

hints