listagg with grouping sets

BigQueryDb2 (LUW)MariaDBMySQLOracle DBPostgreSQLSQL ServerSQLite200520072009201120132015201720192021⊘ 3.5.7 - 3.40.0⊘ 2008R2 - 2022⊘ 8.3 - 15✓ 11gR2+⊘ 11gR1⊘ 5.0 - 8.0.31⊘ 5.1 - 10.10✓ 10.5+⊘ 9.7⊘ 2.0