Created
May 20, 2014 10:25
-
-
Save 2dpi/bb5a06812bab0cb11b1b to your computer and use it in GitHub Desktop.
SQL: copy column value from one table to another
This file contains hidden or 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 table1 INNER JOIN table2 ON table1.field_name = table2.field_name SET table1.field_name = table2.field_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment