J
Johnny
Hi, everyone
I have a samll DB of debits(expenses, food, etc) and
credits(deposits).
If the general balance becames negative I need a query that will give
me all the debits after the negative balance.
In other words, I need to have the last positive balance and all the
debits that make the balance becames negative.
If the account becames negative more than once, I only need the last
time it was negative.
Tks in advance
I have a samll DB of debits(expenses, food, etc) and
credits(deposits).
If the general balance becames negative I need a query that will give
me all the debits after the negative balance.
In other words, I need to have the last positive balance and all the
debits that make the balance becames negative.
If the account becames negative more than once, I only need the last
time it was negative.
Tks in advance