Created
November 19, 2013 22:48
-
-
Save lucasmezencio/7553975 to your computer and use it in GitHub Desktop.
MySQL UPDATE SELECT
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 AS A | |
LEFT JOIN tableB AS B on (A.name_a = B.name_b) | |
SET | |
A.update_date = B.insert_date |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment