how to update column in mysql code example
Example 1: mysql update add to existing value
mysql> UPDATE tableName SET sometotal = sometotal+10 WHERE Id = 4;
Example 2: change column in mysql
#Alter is used
#alter table TableName change CurrentColumnName NewColumnName Specification(size);
alter table TableName change name firstname varchar(30);