MySQL Error Occured
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 '0)) ORDER BY list_top ASC, option_id ASC' at line 1

QUERY = SELECT DISTINCT CubeCart_options_bot.option_id FROM CubeCart_options_bot INNER JOIN CubeCart_options_top ON CubeCart_options_bot.option_id=CubeCart_options_top.option_id WHERE CubeCart_options_top.show_filter = '1' AND product IN (SELECT DISTINCT CubeCart_cats_idx.productId AS product FROM CubeCart_cats_idx WHERE cat_id IN (0 0)) ORDER BY list_top ASC, option_id ASC