Changes between Version 3 and Version 4 of DodavanjeTransakcija
- Timestamp:
- 12/16/24 22:01:38 (4 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DodavanjeTransakcija
v3 v4 53 53 {{{#!sql 54 54 UPDATE transaction_account 55 SET balance = balance - 1500 + 200 55 SET balance = 56 CASE 57 WHEN transaction_account_id = 2 THEN balance - 1500 58 WHEN transaction_account_id = 3 THEN balance + 200 59 ELSE balance 60 END 56 61 WHERE transaction_account_id IN (2, 3); 57 62 }}}