ROLLBACK reverses uncommitted changes in the current transaction.
BEGIN;
UPDATE Accounts
SET balance = balance - 1000
WHERE account_id = 1;
ROLLBACK;ROLLBACK reverses uncommitted changes in the current transaction.
BEGIN;
UPDATE Accounts
SET balance = balance - 1000
WHERE account_id = 1;
ROLLBACK;