SQL check the manual that corresponds to your MySQL server version for the right syntax to use near

正确

错误

原因是 错误的最后一行没加空格 sql 拼接的时候 可能会出现问题 ,注意细节!!!!!!!!!!!!!!!!

p.s.  也有可能是占用了 mysql的关键字!

猜你喜欢

转载自blog.csdn.net/weixin_41917449/article/details/81355447