Answer the question
In order to leave comments, you need to log in
How to double the values of all cells?
The next question is there is a customer table that has a bonus field, I need to double the value of each cell, can you tell me how this can be done?
Answer the question
In order to leave comments, you need to log in
UPDATE customer SET bonus=bonus/2
Should work
PS do not forget about backups: D
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question