SELECT * from bb_con_down where con_id = (SELECT con_id from bb_content where con_is_pro = and con_state = 1 and menu_id = 22337 limit 1)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 'and con_state = 1 and menu_id = 22337 limit 1)' at line 1