2020-11-03
阅读量:
837
1064错误
Error Code: 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 'gyb' at line 1
该错误一般出现在表名或字段名设计的过程中出现了mysql关键字导致的。
如果你用了mysql中的关键字做字段,当你查询的时候可以用 `把 order 来括起来
这个 `并不是单引号,而是数字那一行键的最左边的那个键,注意要在在英文状态下输入,用它把关键字括起来就可以解决这个问题。






评论(0)


暂无数据
推荐帖子
1条评论
0条评论
0条评论