OVP

error: 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 'or class_id in(select class_id from pro_class where parent_id=) order by rank a' at line 1

sql: SELECT * FROM solutions where mever='cn' and class_id= or class_id in(select class_id from pro_class where parent_id=) order by rank asc,postdate desc,id desc