:(

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order by xto_oder' at line 1

错误位置

FILE: D:\web\shenben\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 169

TRACE

#0 D:\web\shenben\ThinkPHP\Library\Think\Db\Driver.class.php(169): PDOStatement->execute()
#1 D:\web\shenben\ThinkPHP\Library\Think\Model.class.php(1362): Think\Db\Driver->query('select b.* from...')
#2 D:\web\shenben\Application\Home\Controller\CourseController.class.php(870): Think\Model->query('select b.* from...')
#3 [internal function]: Home\Controller\CourseController->course_play()
#4 D:\web\shenben\ThinkPHP\Library\Think\App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\CourseController))
#5 D:\web\shenben\ThinkPHP\Library\Think\App.class.php(202): Think\App::exec()
#6 D:\web\shenben\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#7 D:\web\shenben\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#8 D:\web\shenben\index.php(38): require('D:\\web\\shenben\\...')
#9 {main}