Atomic transfer
A transfer is two updates that must both happen or neither. Wrap them in one transaction.
task
In one transaction move 50 from account 1 to account 2.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
A transfer is two updates that must both happen or neither. Wrap them in one transaction.
In one transaction move 50 from account 1 to account 2.