insert … on conflict …
BigQuery
Db2 (LUW)
DuckDB
H2
MariaDB
MySQL
Oracle DB
PostgreSQL
SQL Server
SQLite
2016
2018
2020
2022
2024
3.25.0 - 3.51.0
a
9.5 - 18
1.3.0 - 1.4.0
b
⚡ 1.0.0 - 1.2.0
b
⚡ 2.0
b
On conflict
must not immediately follow the
from
clause of a query. Add
where true
if needed
Syntax accepted but clause apparently ignored