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 'ANDuid=1 AND status!=1 ORDER BY uptime DESC' at line 1
SELECT COUNT(*) FROM lev_award WHERE systype=4 ANDuid=1 AND status!=1 ORDER BY uptime DESC

PHP Debug

No.FileLineCode
1plugin.php47include(%s)
2source/plugin/levaward/levaward.inc.php61lev_base::levpages()
3source/plugin/levaward/lev_base.php431discuz_database::result_first()
4source/class/discuz/discuz_database.php123discuz_database::query()
5source/class/discuz/discuz_database.php142db_driver_mysqli->query()
6source/class/db/db_driver_mysqli.php148db_driver_mysqli->halt()
7source/class/db/db_driver_mysqli.php223break()
cj.fanuy.cn 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.