Tale Of Two Transactions
T1: Deposit $100 T2: Withdraw $100
T1.1: Fetch balance for T2.1: Fetch balance for
Acct #12345: $500.00 Acct #12345: $500.00
T2.3: Yes, Bal = Bal - $100
T2.4: Set DB balance to $400
T1.3: Set DB balance to $600
The depositor might be pleased, but the bank won’t be!