START TRANSACTION; -- Let's get the current value SELECT value FROM counters WHERE id = 1 FOR UPDATE; -- Increment the counter UPDATE counters SET value = value ...
確定! 回上一頁