Transactions
A transaction is a unit of work that is performed against a database. Transactions are reliable, consistent, and isolated.
BEGIN TRANSACTION: Starts a new transaction.
COMMIT: Saves all changes made during the transaction.
ROLLBACK: Undoes all changes made during the transaction.
Task:
Start a transaction, update Alice's balance to 1000, and then commit the change.