UPDATE employees
SET
address = '1300 Carter St',
city = 'San Jose',
postalcode = 95125,
region = 'CA'
WHERE
employeeID = 3;
UPDATE users SET id = 5, name = 'Arif' WHERE id = 0;
# here users = table name,
# id, name it's two column
UPDATE TABLE
SET EndDate = CAST('2009-05-25' AS DATETIME)
WHERE Id = 1
UPDATE Customers
SET first_name = 'Johnny'
WHERE customer_id = 1;
UPDATE table_name SET column1=value1, column2=value2 WHERE condition
UPDATE `table_name` SET `column1` = value1, `column2` = value2 WHERE condition;
UPDATE employees
SET
address = '1300 Carter St',
city = 'San Jose',
postalcode = 95125,
region = 'CA'
WHERE
employeeID = 3;
//to update value
UPDATE students SET course_id = 102
WHERE last_name = 'Jones'; ->
if there is no condition it will update all!
UPDATE table_name
SET column_name1 = value1, column_name2 = value2
WHERE condition;
UPDATE table_name
SET column1 = value1, column2 = value2, ...
WHERE condition;
UPDATE 'table'
SET a = 0, b = 1, ... , b = n
WHERE x = y;