Discuz! Database Error

(1064) 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 c.create_time DESC' at line 5
SELECT c.*,g.grouptitle,mp.resideprovince,mp.residecity,mp.residedist,mp.residecommunity,mp.residesuite FROM gt_teach_comment AS c LEFT JOIN common_member AS m ON c.creator_id = m.uid LEFT JOIN common_usergroup AS g ON m.groupid=g.groupid LEFT JOIN common_member_profile AS mp ON c.creator_id=mp.uid WHERE IFNULL(c.deleter_id,0)=0 AND c.comment_level='1' AND c.teach_id=262 AND c.id NOT IN (1101267,) ORDER BY c.create_time DESC

PHP Debug

No.FileLineCode
1gteach.php48require(%s)
2gt_teach/view.php123discuz_database::fetch_all(%s)
3source/class/discuz/discuz_database.php100discuz_database::query(%s, Array, false, false)
4source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)
5source/class/db/db_driver_mysql.php151db_driver_mysql->halt(%s, %d, %s)
6source/class/db/db_driver_mysql.php218break()
xue.guitarworld.com.cn 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?