syntax error, error in :'e id=1?', expect QUES, actual QUES pos 66, line 1, column 66, token QUES错误

在查询数据库的时候报了下面的异常:

syntax error, error in :'e id=1?', expect QUES, actual QUES pos 66, line 1, column 66, token QUES

是sql语法的错误:

最后删除=号后面的1,得以解决:

原文地址:https://www.cnblogs.com/itiande/p/9165148.html