error: SELECT of.option_id,oo.type FROM in_ob_filter_option as of,in_ob_option as oo WHERE of.option_id=oo.id : 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 'of,in_ob_option as oo WHERE of.option_id=oo.id' at line 1