当前位置:网站首页>已解决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)
修改正确代码执行成功:
边栏推荐
猜你喜欢
随机推荐
iptables 使用脚本来管理规则
FusionCompute8.0.0 实验(2)虚拟机创建
矩阵分析——Jordan标准形
Windos10专业版开启远程桌面协助
arcgis填坑_4
华为防火墙-7-dhcp
ETCD Single-Node Fault Emergency Recovery
numpy和tensor增加或删除一个维度
Map Reduce
HCIP 重发布/路由策略实验
HCIP-生成树(802.1D ,标准生成树/802.1W : RSTP 快速生成树/802.1S : MST 多生成树)
HCIA实验
iptables入门
window7开启远程桌面功能
MySQL之CRUD
命令输出给变量
MySQL之函数
deepin v20.6+cuda+cudnn+anaconda(miniconda)
MySQl进阶之索引结构
My meeting of the OA project (meeting seating & review)