当前位置:Gxlcms > PHP教程 > 在用SQLyog执行sql语句时报错!求大神帮忙看下,该如何处理

在用SQLyog执行sql语句时报错!求大神帮忙看下,该如何处理

时间:2021-07-01 10:21:17 帮助过:53人阅读

在用SQLyog执行sql语句时报错!!求大神帮忙看下
我的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' 时出现了问题!

人气教程排行