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 's-Mug' and c.parent_id = '129' and c.categori' at line 5

select c.categories_id from categories_description cd , categories c where c.categories_id = cd.categories_id and c.categories_seo_page_name = 'Santa's-Mug' and c.parent_id = '129' and c.categories_status = 1 group by c.categories_id

[TEP STOP]