se no anche così:
Codice PHP:
Select IDAnnunciTitlePrice from magazine Where  datediffcurdate( ) , 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