首页 > 代码库 > MySQLSyntaxErrorException: 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 ':ge

MySQLSyntaxErrorException: 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 ':ge

 

技术分享

技术分享

 

数据库表里命名有这个字段,可怎么就是报错呢,大神的解释:

技术分享

加上之后立马好用!!!

技术分享

 

MySQLSyntaxErrorException: 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 ':ge