Created
October 12, 2025 18:24
-
-
Save shivamka1/93f42395f1564bad8625a80282028d3e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BEGIN; | |
| UPDATE accounts SET balance = balance - 100 WHERE user_id = 1; | |
| UPDATE accounts SET balance = balance + 100 WHERE user_id = 2; | |
| COMMIT; |
Comments are disabled for this gist.