当前位置:网站首页>已解决EROR 1064 (42000): You have an error in. your SOL syntax. check the manual that corresponds to yo
已解决EROR 1064 (42000): You have an error in. your SOL syntax. check the manual that corresponds to yo
2022-08-11 05:36:00 【无 羡ღ】
已解决EROR 1064 (42000): You have an error in. your SOL syntax. check the manual that corresponds to your MySQL server version
报错代码
粉丝群里的一个小伙伴,用SQL插入新增数据的时候报错:

报错信息:EROR 1064 (42000): You have an error in. your SOL syntax. check the manual that corresponds to your MySQL server version
报错翻译
报错信息翻译:
报错:您在中有一个错误。您的SOL语法。检查与MySQL服务器版本对应的手册
报错原因
报错原因:他的新增数据语句有问题
解决方法
正确的SQL新增数据语句:
insert into 表名(列名,列名) values(值1,值2)
或者
insert into 表名 values(值1,值2)
修改正确代码执行成功:

边栏推荐
猜你喜欢
随机推荐
Class definition, class inheritance, and the use of super
ansible batch install zabbix-agent
空间金字塔池化 -Spatial Pyramid Pooling(含源码)
智能合约 ——— app评分合约
核方法 Kernel method
阿里巴巴规范之POJO类中布尔类型的变量都不要加is前缀详解
mmdetection的安装和训练、测试didi数据集的步骤(含结果)
Solve win10 installed portal v13 / v15 asked repeatedly to restart problem.
安装cuda10.2下paddlepaddle的安装
[损失函数]——均方差
HCIP WPN experiment
矩阵分析——微分、积分、极限
图文带你理解什么是Few-shot Learning
拼多多api接口应用示例
TOP2两数相加
【LeetCode】851.喧闹与富有(思路+题解)
windows10安全中心显示“修正未完成”
推荐一个好用的IDEA插件---Translation—中英互译
iptables 基础配置
Arcgis小工具_实现重叠分析









