반응형
1 2 3 4 5 6 7 8 9 | WITH UPSERT AS ( UPDATE table set name = '' WHERE id= '' RETURNING * ) INSERT INTO table(name) SELECT ''WHERE NOT EXISTS (SELECT id FROM UPSERT) | cs |