UPDATE `money` SET `money`=`money` 1 WERE `id`=1;
UPDATE `users` SET `money` = IF(`money` > 0, `money` - 1, 0) WHERE `id`=1;