Created
October 31, 2019 15:19
-
-
Save heylastway/30ac41e2977917a8617f34f370527ed4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO table (id,Col1,Col2) VALUES (1,1,1),(2,2,3),(3,9,3),(4,10,12) | |
ON DUPLICATE KEY UPDATE Col1=VALUES(Col1),Col2=VALUES(Col2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment