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 'F??s?%' and cg.products_color_id = pccg.products_color_id and c.categories_id i' at line 1
in:
[select distinct c.categories_id, cd.categories_name, cg.master_categories_id from categories c, categories_description cd, products_color pccg, products cg where c.categories_id=cd.categories_id and cg.master_categories_id=c.categories_id and pccg.products_color like '%Μπζ>:>:Iٕͥ777777ͽѥɥM2g6\\'Fs%' and cg.products_color_id = pccg.products_color_id and c.categories_id in (2,3,4,5,6,7,8,9,10,12,13,14,15,17,18,21,22,23,24,25,26,27,28,30,31,32,33,34,35,36,37) and cd.language_id='1' and c.categories_status='1' order by c.sort_order,cd.categories_id]