mysql function update code example
Example 1: update set mysql
UPDATE tableName SET anAttribute = 'Something' WHERE anOtherAttribute = 'SomethingElse'
//All 'SomethingElse' values will become 'Something'
Example 2: mysql update add to existing value
mysql> UPDATE tableName SET sometotal = sometotal+10 WHERE Id = 4;