Answers for "Update data when duplicate keys found on import (add ON DUPLICATE KEY UPDATE)"

SQL
3

mysql insert on dupèlicate

INSERT INTO table_name(c1)
VALUES(c1)
ON DUPLICATE KEY UPDATE c1 = VALUES(c1) + 1;
Posted by: Guest on February-27-2020

Code answers related to "Update data when duplicate keys found on import (add ON DUPLICATE KEY UPDATE)"

Code answers related to "SQL"

Browse Popular Code Answers by Language