A family of Microsoft relational database management systems designed for ease of use.
Ok I removed the group by then deleted the SQL and pasted in the new SQL. I ran the select query and it should have only shown 1 record but came up with 3.
However I did some thinking and tried something different. I have another delete query that deletes only all dues records past 3 years (<2018,2017,2016). When I ran that delete query first and than ran my update expired query which check marks anyone who did not pay there dues for last year (2017) before Jan 1, 2018 and then ran the Delete expired query I got the results I needed.
I then made a copy of the database and went into the delete expired query and changed the criteria to <2019-2 and ran the query and it deleted all of the records from 2016 that were expired.
This seems to be working fine. Thanks for all of your help. My database is now completed all the way.
Thank you