Originariamente inviato da piero.mac
SELECT *
FROM TABELLA
WHERE CURDATE() - giorni DAY < data

ovviamente "giorni" e "data" sono i campi interessati della tabella
Mi da errore

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DAY < data ...