listagg(distinct …)

BigQueryDb2 (LUW)MariaDBMySQLOracle DBPostgreSQLSQL ServerSQLite20152017201920212023⊘ 3.5.7 - 3.50.0⊘ 2008R2 - 2022⊘ 8.3 - 17✓ 19c - 23.9⊘ 11gR1 - 18c⊘ 5.0 - 9.4.0⊘ 5.1 - 12.0.2⚠ 12.1.2a⚠ 11.1 - 12.1.0⊘ 9.7 - 10.5⊘ 2.0
  1. If ordered by the aggregated values: listagg(distinct X,…) within group (order by X)