:(

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 '-2,3' at line 1

错误位置

FILE: D:\wwwroot\www.7teli.com\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 337

TRACE

#0 D:\wwwroot\www.7teli.com\ThinkPHP\Library\Think\Db\Driver.class.php(337): PDOStatement->execute()
#1 D:\wwwroot\www.7teli.com\ThinkPHP\Library\Think\Db\Driver.class.php(1869): Think\Db\Driver->query('SELECT * FROM `...', false)
#2 D:\wwwroot\www.7teli.com\ThinkPHP\Library\Think\Model.class.php(1157): Think\Db\Driver->select(Array)
#3 D:\wwwroot\www.7teli.com\Application\Home\Controller\IndexController.class.php(407): Think\Model->select()
#4 [internal function]: Home\Controller\IndexController->show('794', '41')
#5 D:\wwwroot\www.7teli.com\ThinkPHP\Library\Think\App.class.php(322): ReflectionMethod->invokeArgs(Object(Home\Controller\IndexController), Array)
#6 D:\wwwroot\www.7teli.com\ThinkPHP\Library\Think\App.class.php(402): Think\App::exec()
#7 D:\wwwroot\www.7teli.com\ThinkPHP\Library\Think\Think.class.php(239): Think\App::run()
#8 D:\wwwroot\www.7teli.com\ThinkPHP\ThinkPHP.php(193): Think\Think::start()
#9 D:\wwwroot\www.7teli.com\index.php(31): require('D:\\wwwroot\\www....')
#10 {main}