Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 249 Bytes

update_data.md

File metadata and controls

6 lines (5 loc) · 249 Bytes

Update data

UPDATE users SET first_name = 'Joe', age = 30; # updating data
UPDATE users SET first_name = 'Peter' WHERE first_name = 'Joe'; # to change all people with first_name "Joe" to first_name "Peter", we would use this statement