Apr 06 2021 09:04 AM
A strange query question.
Let’s say I have a table containing people’s details:
PersonID = 1
First_Name = Elizabeth
Surname = Windsor
PersonID = 2
First_Name = Philip
Surname = Windsor
PersonID = 3
First_Name = Charles
Surname = Windsor
Etc.
I send each person an invoice at the start of the finical year (01/04/21) for £12 and say they can pay it monthly, at £1 per month. This arrangement could continue for many years.
I have another table to record to record the payments
ID, Date_paid, Amount, PersonID
So here is the question.
What would the query look like to show who was up to date with their monthly payments and who wasn’t?
I have been trying many different options and was wondering if anyone could help steer me in the right direction.
Thank you
Apr 06 2021 11:32 AM
Apr 06 2021 11:37 AM
Also, how do you calculate the due date for each installment? How do you know when they are late?