listagg(distinct …)

BigQueryDb2 (LUW)MariaDBMySQLOracle DBPostgreSQLSQL ServerSQLite2009201120132015201720192021⊘ 3.5.7 - 3.42.0⊘ 2008R2 - 2022⊘ 8.3 - 15✓ 19c+⊘ 11gR1 - 18c⊘ 5.0 - 8.0.33⊘ 5.1 - 10.11⚠ 11.1 - 11.5.8a⊘ 9.7 - 10.5⊘ 2.0
  1. If ordered by the aggregated values: listagg(distinct X,…) within group (order by X)