update in my sql code example
Example 1: update set mysql
UPDATE tableName SET anAttribute = 'Something' WHERE anOtherAttribute = 'SomethingElse'
//All 'SomethingElse' values will become 'Something'
Example 2: mysql update value
UPDATE employees
SET
email = '[email protected]'
WHERE
employeeNumber = 1056;Code language: SQL (Structured Query Language) (sql)