cosi'?

Codice PHP:
SELECT idmdytitletexteventopartecipanti.usernamepresentehashGROUP_CONCAT (lnameFROM calendar_mssgspartecipanticalendar_users  WHERE presente=AND id=evento AND partecipanti.username=hash  GROUP BY evento ORDER BY concat_ws('-',y,lpad(m,2,0),lpad(d,2,0)) ASC 
mi da' errore...ma non capisco perchè!