ERRORE NELLA QUERY: SELECT comp_target.CID as MyCID FROM comp_target LEFT JOIN (SELECT *,CONCAT('%Creat=',CID,',%') as FindMe FROM comp_creat) as qCreat ON comp_target.CompFigli LIKE qCreat.FindMe LEFT JOIN (SELECT *,CONCAT('%ACL=',CID,',%') as FindMe FROM comp_acl) as qACL ON comp_target.CompFigli LIKE qACL.FindMe WHERE qCreat.IDSito=1 AND qCreat.bAlive=1 AND (0>=aclUserC OR (acl_frontend_mode=1) OR (acl_frontend_mode=3 AND aclUserC=0) OR (acl_frontend_mode=2 AND ( aclUserC=0 OR acl_frontend_grplist LIKE '%,-1,%' ) ) ) AND comp_target.CID=