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 'S CREEK' AND tid <> '150383' LIMIT 0,20' at line 1
SELECT tid,fullName FROM usin_license_list WHERE 1 AND licenseType = 'Clinical Social Worker' AND state = 'KY' AND city = 'COX'S CREEK' AND tid <> '150383' LIMIT 0,20

PHP Debug

No.FileLineCode
1license.php35require(%s)
2source/module/license/detail.php52discuz_database::query(%s)
3source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)
4source/class/db/db_driver_mysql.php153db_driver_mysql->halt(%s, %d, %s)
5source/class/db/db_driver_mysql.php224break()
in-license-lookup.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?