Add equals(+=):- Syntax will be SELECT column1+=column2 FROM TableName; For Example:- Select (age+=10) from Employeetable; It will increment the age of the employee Subtract equals(-=):-Syntax will be SELECT column1-=column2 FROM TableName; For example:- Select (age-=10)
Continue Reading- Home
- MySQL Compound Operators