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 (cat_id LIKE '%,,%' OR cat_id LIKE ',%' OR cat_id LIKE '%,' OR cat_id LIKE '') 0 ORDER BY option_name DESC