Skip to content

Conversation

@Majoodeh
Copy link

@Majoodeh Majoodeh commented Dec 3, 2025

No description provided.

@bnhoogendijk bnhoogendijk self-assigned this Dec 5, 2025
Comment on lines +11 to +26
export const transactionsTransfer = `
begin;
update accounts
set balance = balance - 1000.00
where account_number= 101;

update accounts
set balance = balance + 1000.00
where account_number = 102;

insert into account_changes ( change_number, account_number, amount, change_date, remark)
values
(11, 101, -1000.00, date , 'Transfer 1000 to 102'),
(12, 102, +1000.00, date, 'Received 1000 from account 101');

commit;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants