This lesson is being remade with real tools (a real database, the real AI model). The new video and its detailed notes appear here as soon as they are ready.
Video coming soonThis lesson’s video is being made
Start with the notes below; the video appears here as soon as it is on YouTube.
SQL and Databases · Lesson 45 of 90
Subtotals with GROUPING SETS, ROLLUP and CUBE
GROUPING SETSROLLUPCUBEWITH ROLLUP (MySQL)GROUPING() functionsubtotalgrand totalsuper-aggregate rowemulating ROLLUP in SQLite with UNION ALL