开发者社区> 问答> 正文

mysql 语句 错误 42000?报错

php,mysql,pdo,"UPDATA tb_music_lists SET user_m_sex=0 WHERE music_lists_id=7"

报错,"42000",1064," You have an error in your SQL syntax.     Check the manual t
hat corresponds to your MySQL server version for the right syntax to use near 'UPDATA tb_music_lists SET user_m_sex=0 WHERE music_lists_id=7' at line 1"

请问是什么问题?mysql版本是5.5

展开
收起
爱吃鱼的程序员 2020-06-22 19:36:17 517 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    updata是什么语法?晕死。。。打错了。。。没事了,谢谢。。。

    2020-06-22 19:36:34
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
搭建电商项目架构连接MySQL 立即下载
搭建4层电商项目架构,实战连接MySQL 立即下载
PolarDB MySQL引擎重磅功能及产品能力盛大发布 立即下载

相关镜像