Skip to content

Instantly share code, notes, and snippets.

@bartubozkurt
Created June 12, 2021 21:32
Show Gist options
  • Save bartubozkurt/3470516e003f5e112807f77b14641889 to your computer and use it in GitHub Desktop.
Save bartubozkurt/3470516e003f5e112807f77b14641889 to your computer and use it in GitHub Desktop.
The SET command is used with UPDATE to specify which columns and values that should be updated in a table.
UPDATE Customers
SET ContactName = 'Alfred Schmidt', City= 'Frankfurt'
WHERE CustomerID = 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment