I have a column call token, it store user's credit.
This column can be add or minus and I want to set the smallest number to be zero.
Ex. 0 - 1 will store 0, (not -1)
Is any way to set smallest number to be zero in this column?
UPDATE 'table' SET token = token -1 (if token is 0, it will not small than 0)