Skip to content

Instantly share code, notes, and snippets.

@booyaa
Created December 11, 2012 16:49
Show Gist options
  • Select an option

  • Save booyaa/4260210 to your computer and use it in GitHub Desktop.

Select an option

Save booyaa/4260210 to your computer and use it in GitHub Desktop.
UPDATE query with join
UPDATE f
SET isAwesome = 1
FROM foo f
INNER JOIN bar b
ON f.id = b.id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment