listagg(distinct …)

BigQueryDb2 (LUW)MariaDBMySQLOracle DBPostgreSQLSQL ServerSQLite20132015201720192021⊘ 3.5.7 - 3.43.0⊘ 2008R2 - 2022⊘ 8.3 - 16✓ 19c - 21c⊘ 11gR1 - 18c⊘ 5.0 - 8.0.34⊘ 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)