📜  插入或忽略 postgres - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:13.584000             🧑  作者: Mango

代码示例3
INSERT INTO customers (NAME, email)
VALUES('Microsoft','hotline@microsoft.com') 
ON CONFLICT ON CONSTRAINT customers_name_key 
DO NOTHING;
Code language: SQL (Structured Query Language) (sql)