:(

SQLSTATE[HY000]: General error: 1 near "index": syntax error

错误位置

FILE: /www/users/HA633298/WEB/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 156

TRACE

#0 /www/users/HA633298/WEB/ThinkPHP/Library/Think/Db/Driver.class.php(156): PDO->prepare('SELECT id FROM ...')
#1 /www/users/HA633298/WEB/ThinkPHP/Library/Think/Db/Driver.class.php(946): Think\Db\Driver->query('SELECT id FROM ...', false)
#2 /www/users/HA633298/WEB/ThinkPHP/Library/Think/Model.class.php(579): Think\Db\Driver->select(Array)
#3 /www/users/HA633298/WEB/Application/Home/Controller/CnController.class.php(26): Think\Model->select()
#4 /www/users/HA633298/WEB/Application/Home/Controller/IndexController.class.php(39): Home\Controller\CnController->alist()
#5 [internal function]: Home\Controller\IndexController->alist()
#6 /www/users/HA633298/WEB/ThinkPHP/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\IndexController))
#7 /www/users/HA633298/WEB/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#8 /www/users/HA633298/WEB/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#9 /www/users/HA633298/WEB/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#10 /www/users/HA633298/WEB/index.php(32): require('/www/users/HA63...')
#11 {main}