SQL - Transactions and Data Integrity
You run this SQL code:
What is the effect of the final ROLLBACK?
BEGIN TRANSACTION;
UPDATE accounts SET balance = balance - 100 WHERE id = 5;
COMMIT;
ROLLBACK;
What is the effect of the final ROLLBACK?
