PRODUCTOS

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 pro_baja = 0' at line 1

SELECT * FROM productos LEFT JOIN archivos ON pro_codigo = arc_cat_codigo AND arc_texto <> 'PICTOGRAMA' AND arc_texto<>'AISLAFLEX' AND arc_texto <> 'NORRES' AND arc_texto <> 'CARAC' WHERE pro_codigo = 107 AND pro_item = AND pro_baja = 0