MySQL Error Occured
1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '0 ORDER BY 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 show_on_filter='1' AND (cat_id LIKE '%,,%' OR cat_id LIKE ',%' OR cat_id LIKE '%,' OR cat_id LIKE '') 0 ORDER BY option_id ASC