There is such a request:
SELECT * FROM `payments` WHERE `MEMBER_ID`= 1052 it is necessary to exclude records on the field with the date, if the date is more than a year ago. tried this:
AND (NOW() - PAYMENT_DATE) < 31536000 However, this condition does not work, nothing is displayed, although there are dates for 2016