Several operations concurrently debit 100 from account id = 1 in accounts. Write one statement that reduces balance only if enough money is available and never lets the balance go below 0.
100
id = 1
accounts
balance
0
Влез, за да видиш историята на решенията
Влез, за да използваш ИИ ментора
Резултатът от заявката ти ще се покаже тук