SQL: GROUP BY, ROLLUP, CUBEの実行例 - Qiita

# サンプルデータ ```sql SELECT * FROM sample_data ORDER BY key1, key2, key3, key4 ``` | KEY1 | KEY2 | KEY3 | KEY4 | VAL | ...