update all rows mysql
snippet in sql

mysql update add to existing value

user4438

mysql> UPDATE tableName SET sometotal = sometotal+10 WHERE Id = 4;

update all rows mysql

user1019

UPDATE tableName SET columnName = yourValue;
#to update multiple columns:
UPDATE tableName SET column1 = value1, column2 = value2; #and so on