ERROR 1064 (42000): 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 balabala at line 1.
错误原因: 创建表时,将表名用单引号括起来了。
Mysql中,为了区分关键字和普通字符,在创建表时,表名和表内关键字需使用反引号(就是Tab上面那个键),若使用了普通的单引号,就会报上述错误。
MySQL错误 ERROR 1064 (42000): You have an error in your SQL syntax;
最新推荐文章于 2024-05-02 19:49:06 发布