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 'p.products_image NOT IN('no_picture.gif','none.gif')' at line 9in:[select distinct p.products_id, p.products_image, p.products_tax_class_id, p.products_date_added,
p.products_price
from e_products p
left join e_specials s
on p.products_id = s.products_id, e_products_to_categories p2c, e_categories c
where p.products_id = p2c.products_id
and p2c.categories_id = c.categories_id
and c.parent_id = '11763'
and p.products_status = 1 and p.products_image p.products_image NOT IN('no_picture.gif','none.gif') ]