Last active
January 13, 2021 12:35
-
-
Save simonthompson99/663170b607a418498ebc83a4b6dfdd0c to your computer and use it in GitHub Desktop.
Revisions
-
simonthompson99 revised this gist
Jan 13, 2021 . No changes.There are no files selected for viewing
-
simonthompson99 created this gist
Jul 24, 2020 .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,12 @@ update schema.table t set cola = u.cola from ( select * from (values (1, 'fdjkl'), (2, 'reiuuio'), (3, 'adfgd') ) as t (id, cola) ) u where t.id = u.id ;