Answers for "mysql on duplicate key update get value from values"

SQL
0

mysql on duplicate key update get value from values

INSERT INTO `tableName` (`a`,`b`,`c`) VALUES (1,2,3)
ON DUPLICATE KEY UPDATE `a`=VALUES(`a`), `b`=VALUES(`b`), `c`=VALUES(`c`);
Posted by: Guest on December-28-2020

Code answers related to "mysql on duplicate key update get value from values"

Code answers related to "SQL"

Browse Popular Code Answers by Language