Self-referencing merge

BigQueryDb2 (LUW)MariaDBMySQLOracle DBPostgreSQLSQL ServerSQLite200720092011201320152017201920212023✓ 2008R2 - 2022a✓ 15 - 18a✓ 11gR1 - 23.26.0a✓ 9.7 - 12.1.2a✓ 2.0a
  1. Syntax accepted, functionality not tested thoroughly