MERGE statement — F312

BigQueryDb2 (LUW)DuckDBH2MariaDBMySQLOracle DBPostgreSQLSQL ServerSQLite2007200920112013201520172019202120232025⊘ 3.5.7 - 3.51.0✓ 2008R2 - 2025✓ 15 - 18⊘ 8.3 - 14⚠ 11gR1 - 23.26.0ab⊘ 5.0 - 9.5.0⊘ 5.1 - 12.1.2⚠ 1.4.198 - 2.4.240a⊘ 1.4.191 - 1.4.197⚠ 1.4.0a⊘ 1.0.0 - 1.3.0⚠ 9.7 - 12.1.2a✓ 2.0
  1. Ambiguities not always reported
  2. The on clause requires parenthesis: on ( <condition> )