开发者社区 问答 正文

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

展开
收起
落地花开啦 2016-02-13 15:12:37 2600 分享 版权
1 条回答
写回答
取消 提交回答
  • updata应该为update

    2019-07-17 18:42:03
    赞同 展开评论