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 ''id','user_id','total','used','residue') VALUES('1','1','1000','0','1000')'
我用的是

解决方法:
把字段名的单引号去掉
本文介绍了如何解决SQL插入语句中的语法错误,特别是关于字段名被错误地用单引号包围的问题。通过去除字段名的单引号,可以正确执行SQL语句,确保数据库操作的顺利进行。
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 ''id','user_id','total','used','residue') VALUES('1','1','1000','0','1000')'
我用的是

解决方法:
把字段名的单引号去掉
2674
2761
432
7998

被折叠的 条评论
为什么被折叠?