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 'GROUP BY A.tagid LIMIT 3' at line 5
SELECT A.tagid, B.tagname FROM common_tagitem A LEFT JOIN common_tag B ON A.tagid=B.tagid WHERE itemid = 6003 AND A.tagid <> GROUP BY A.tagid LIMIT 3

PHP Debug

No.FileLineCode
1misc.php62require(%s)
2source/module/misc/misc_tag.php89setthreadtags(%s, %s, Array)
3source/module/misc/misc_tag.php180discuz_database::fetch_all(%s)
4source/class/discuz/discuz_database.php100discuz_database::query(%s, Array, false, false)
5source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)
6source/class/db/db_driver_mysql.php151db_driver_mysql->halt(%s, %d, %s)
7source/class/db/db_driver_mysql.php218break()
www.wetalk.tw 已經將此出錯信息詳細記錄, 由此給您帶來的訪問不便我們深感歉意. Need Help?