Puoi fare qualcosa come:
select * from `members`
where `paymentDate` < DATE_SUB(CURDATE(), INTERVAL 1 YEAR)
and `AwaitingRenewal` = 'NO'
Puoi fare qualcosa come:
select * from `members`
where `paymentDate` < DATE_SUB(CURDATE(), INTERVAL 1 YEAR)
and `AwaitingRenewal` = 'NO'