错误代码: You have an error in your sql syntax; check the manual that corresponds to your MySQL Server version for the righ
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 'Continue' at line 1
首先我想是否因为语句格式不对或者少写逗号
但是经过检查发现不是这些问题
语法上完全没有任何问题
于是我又尝试去写一个其他的表名发现还是相似的问题
写的比较快没有注意到格式的问题
create table users-staff;
随后我经过询问才得知是我写的数据库名为关键字的原因
在我更改了我的数据库名后问题迎刃而解
如果你不清楚自己写的表名是否为关键字可以利用:PostgreSQL中文社区:: 世界上功能最强大的开源数据库...
去查看一下,避免过多的消耗时间
来源地址:https://blog.csdn.net/Continue_Python/article/details/124320879
--结束END--
本文标题: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
本文链接: https://www.lsjlt.com/news/398883.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-05-30
2024-05-30
2024-05-30
2024-05-30
2024-05-30
2024-05-30
2024-05-30
2024-05-30
2024-05-30
2024-05-30
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0