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 ') order by pi.display_priority DESC, p.products_id' at line 1

select p.products_id, pd.products_name, p.products_image, p.products_tax_class_id, if(s.status, s.specials_new_products_price, p.products_price) as products_price from products p left join products_description pd ON p.products_id = pd.products_id left join specials s on p.products_id = s.products_id left join products_ingenu pi on p.products_id = pi.products_id where products_status = '1' and pd.language_id = '1' and p.products_id NOT IN () order by pi.display_priority DESC, p.products_id