SQL row data mismatch for different users
Some things must be put in a "transaction".

One example:

BEGIN;
SELECT ... FOR UPDATE;
do some non-sql processing
UPDATE ...  -- specifying the row that was `SELECTed`
COMMIT;


Without the FOR UPDATE, another connection might sneak in and update (or delete or ...) the row that you thought you had.