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 time desc LIMIT 20' at line 1
SELECT * FROM keke_whosee WHERE tid= order by time desc LIMIT 20

PHP Debug

No.FileLineCode
1forum.php71require(%s)
2source/module/forum/forum_viewthread.php25showmessage()
3source/function/function_core.php1416dshowmessage(%s, %s, %s, Array)
4source/function/function_message.php239include(%s)
5data/template/9_9_common_showmessage.tpl.php1hookscriptoutput()
6source/function/function_core.php1207hookscript()
7source/function/function_core.php1167plugin_keke_whosee_forum->viewthread_postbottom_output(Array)
8source/plugin/keke_whosee/keke_whosee.class.php29discuz_database::query(%s)
9source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)
10source/class/db/db_driver_mysql.php153db_driver_mysql->halt(%s, %d, %s)
11source/class/db/db_driver_mysql.php224break()
www.baitahe.net 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?