Ошибка выполнения sql:
SELECT A.ID,A.NAZ,ACT.ROLEPHOTO,A.HREFNAZ,A.MEM_TIP,ACT.NAZ AS ROLENAZ FROM ACTOR A,ACTOROLE ACT,SCHEDULE SC WHERE SC.ENAB=1 AND ACT.ACTOR=A.ID AND ((A.MEM_TIP<=1) OR (A.MEM_TIP<=3)) AND ACT.ID IN (0,0,,,3,3) GROUP BY ACT.ID ORDER BY ACT.PSORT,A.NAZ LIMIT 1000