SQL-DATABASE ERROR

mysql error: 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 'AND c.person_id = p.person_id AND rollen_id = 1' at line 2
mysql error number: 1064
mysql version: 5.0.32-Debian_7etch11-log
php version: 5.2.11
Date: 09.02.2010 @ 18:30