:(

sqlstate[42000]: syntax error or access violation: 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 ')' at line 1

错误位置

file: /www/web/zhongtui_net/public_html/thinkphp/library/think/db/driver.class.php  line: 169

trace

#0 /www/web/zhongtui_net/public_html/thinkphp/library/think/db/driver.class.php(169): pdostatement->execute()
#1 /www/web/zhongtui_net/public_html/thinkphp/library/think/db/driver.class.php(935): think\db\driver->query('select * from `...', false)
#2 /www/web/zhongtui_net/public_html/thinkphp/library/think/model.class.php(579): think\db\driver->select(array)
#3 /www/web/zhongtui_net/public_html/application/home/controller/stockcontroller.class.php(335): think\model->select()
#4 [internal function]: home\controller\stockcontroller->videodes()
#5 /www/web/zhongtui_net/public_html/thinkphp/library/think/app.class.php(164): reflectionmethod->invoke(object(home\controller\stockcontroller))
#6 /www/web/zhongtui_net/public_html/thinkphp/library/think/app.class.php(202): think\app::exec()
#7 /www/web/zhongtui_net/public_html/thinkphp/library/think/think.class.php(120): think\app::run()
#8 /www/web/zhongtui_net/public_html/thinkphp/thinkphp.php(97): think\think::start()
#9 /www/web/zhongtui_net/public_html/index.php(29): require('/www/web/zhongt...')
#10 {main}