I just confuse in this query and I don’t know how to solve it, if you have any ideas about this, please help me or help, definitely appreciated
I have a table structure like this and the test column contains 3 values

UPDATE `test` SET test = test -3
when I execute this query, the result will be shown as follows

UPDATE `test` SET test = test -4
But when I execute this query, the result will not be correctly saved in the test column, like this

0 result is required or I do not need to subtract value
source
share