Error en la consulta:
SELECT AS ID, c.empresa AS EMPRESA, c.url AS URL, cc.nombre AS SECTOR, c.logo AS LOGO FROM clientes c, categorias_clientes_es cc WHERE AND c.sector =
[1064: 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 '' at line 1]