Notice: Undefined index: tablepre in /home/WEBROOT/beyoung/include/inc/db_mysql_error.inc.php on line 64 Discuz! info: MySQL Query Error

SQL: select id, type, name, parent, sort from tbcategory where type = 2 and status < 2 and parent in () order by parent, sort
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 ') order by parent, sort' at line 1
Errno.: 1064