UPDATE Customers
SET first_name = 'Johnny'
WHERE customer_id = 1;
UPDATE employees SET name = 'Jack' WHERE name = 'Jackson';
UPDATE `table_name` SET `column1` = value1, `column2` = value2 WHERE condition;
-- from w3schools
UPDATE table_name
SET column1 = value1, column2 = value2, ...
WHERE condition;
UPDATE table_name
SET column1 = value1, column2 = value2...., columnN = valueN
WHERE [condition];
-- sql update using string format
String = "UPDATE yourtable SET yourcolumn = '" + yourvealueintext + "' WHERE column = " + item_to_compare_the_position_of_Your_Column;
-- or
String = "UPDATE yourtable SET yourcolumn = " + yourvalue_in_number + " WHERE column = " + item_to_compare_the_position_of_Your_Column;
UPDATE table_name
SET column1 = value1, column2 = value2, ...
WHERE condition
UPDATE 'table'
SET a = 0, b = 1, ... , b = n
WHERE x = y;