se no anche così:
Codice PHP:
Select IDAnnunci, Title, Price from magazine Where datediff( curdate( ) , Showcase ) <= 30
EDIT
ti dà errore perché non puoi usare l'alias 'giorni' nella WHERE, devi usare tutta l'espressione come ho fattoi io sopra
ciao