update query set with select mysql code example
Example 1: mysql update add to existing value
mysql> UPDATE tableName SET sometotal = sometotal+10 WHERE Id = 4;
Example 2: set column in all row mysql
UPDATE name_table SET param = 'VALUE';
mysql> UPDATE tableName SET sometotal = sometotal+10 WHERE Id = 4;
UPDATE name_table SET param = 'VALUE';