Created
March 12, 2015 14:48
-
-
Save fracasula/ca39dbd65dbb671cab10 to your computer and use it in GitHub Desktop.
Update with Join in MySQL
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
UPDATE TABLEA a | |
JOIN TABLEB b ON a.join_colA = b.join_colB | |
SET a.columnToUpdate = [something] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment