您的位置:首页 > 数据库 > MySQL

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use

2011-01-04 22:45 1366 查看
在使用MYSQL更新数据的时候出现

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 '=13' at line 1

解决方案--》最后执行查询的SQL语句应该是下面的样子:
SELECT *FROM renshiguanliWHERE GH=13
表名和关键字WHERE之间应该有空格的。
在WHERE之前加个空格试试。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐