我的sql语句是:UPDATE personal SET user_name ='孙浩6',family_id = '00000203',generation = '2',ranking = '26',PASSWORD = '' permission = '9' WHERE id = '11' LIMIT 1
错误代码: 1064
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 'permission = '9' where id = '11' limit 1' at line 1
回复讨论(解决方案)
permission 前面少了个逗号也看不出来吗?
错误信息已经明确的告诉你在解析到 'permission = '9' where id = '11' limit 1' 时出现了问题!
permission 前面少了个逗号也看不出来吗?
错误信息已经明确的告诉你在解析到 'permission = '9' where id = '11' limit 1' 时出现了问题!
哎字段有点多一时没找到,自己的失误。但是后来还有别的错误我自己解决了谢谢你!!