any_value(…) filter(…)        

BigQueryDuckDBH2MySQLOracle DBPostgreSQL2013201520172019202120232025✓ 16 - 18⊘ 8.3 - 15✓ 23.26.1+⊘ 11gR1 - 23.26.0⊘ 5.7 - 9.6.0ab⊘ 5.0 - 5.6✓ 2.2.220 - 2.4.240⊘ 1.4.191 - 2.1.214✓ 1.0.0 - 1.4.0⊘ 2.0⊘ 2.0⊘ 2.0a⊘ 2.0a⊘ 2.0a
  1. ⚡Might return null even if there are non-null values
  2. Not an aggregate function