当前位置:网站首页>已解决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)
修改正确代码执行成功:
边栏推荐
猜你喜欢
随机推荐
HCIP WPN experiment
HCIP MPLS/BGP综合实验
阿里巴巴规范之POJO类中布尔类型的变量都不要加is前缀详解
HCIA experiment
八股文之mysql
Windos10专业版开启远程桌面协助
iptables 流量统计
抖音API接口大全
Local yum source build
从mask-rcnn到shp
强烈推荐一款好用的API接口
《Generative Adversarial Networks》
使用Keras构建GAN,以Mnist为例
My meeting of the OA project (meeting seating & review)
华为防火墙-3-应用过滤
Eight-legged text of mysql
局域网文件传输
Concurrent programming in eight-part essay
抖音API接口
iptables nat