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 ') ORDER BY data_id desc' at line 1

错误位置

FILE: /www/wwwroot/yyf.qiantuban.com/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 170

TRACE

#0 /www/wwwroot/yyf.qiantuban.com/ThinkPHP/Library/Think/Db/Driver.class.php(170): PDOStatement->execute()
#1 /www/wwwroot/yyf.qiantuban.com/ThinkPHP/Library/Think/Db/Driver.class.php(931): Think\Db\Driver->query('SELECT `data_id...', false)
#2 /www/wwwroot/yyf.qiantuban.com/ThinkPHP/Library/Think/Model.class.php(579): Think\Db\Driver->select(Array)
#3 /www/wwwroot/yyf.qiantuban.com/Application/Home/Controller/GongsiController.class.php(44): Think\Model->select()
#4 [internal function]: Home\Controller\GongsiController->show()
#5 /www/wwwroot/yyf.qiantuban.com/ThinkPHP/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\GongsiController))
#6 /www/wwwroot/yyf.qiantuban.com/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#7 /www/wwwroot/yyf.qiantuban.com/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#8 /www/wwwroot/yyf.qiantuban.com/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#9 /www/wwwroot/yyf.qiantuban.com/index.php(25): require('/www/wwwroot/yy...')
#10 {main}