Created
November 13, 2019 10:40
-
-
Save adamo/55db9ba50d77c2cbb9023cee77b03841 to your computer and use it in GitHub Desktop.
Revisions
-
adamo created this gist
Nov 13, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ UPDATE table_a INNER JOIN table_b ON table_a.column_to_match = table_b.column_to_match SET table_a.column_to_update = table_b.data_column_to_update_with WHERE table_a.column_match_a = table_b.column_match_for_example_id