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
Log ind for at se indsendelseshistorik
Log ind for at bruge AI-mentor
Resultatet af din forespørgsel vises her