MySQL ERROR 1064(42000): 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

通常出现该错误的原因是使用了 MySQL 的保留字

解决方法是对使用的保留字使用反引号

猜你喜欢

转载自www.cnblogs.com/0820LL/p/10579257.html