Du kan göra något som:
select * from `members`
where `paymentDate` < DATE_SUB(CURDATE(), INTERVAL 1 YEAR)
and `AwaitingRenewal` = 'NO'
Du kan göra något som:
select * from `members`
where `paymentDate` < DATE_SUB(CURDATE(), INTERVAL 1 YEAR)
and `AwaitingRenewal` = 'NO'