SQL错误#1064
作者:互联网
试图在mySQL表的mediumblob字段中输入一个值,但是我得到了:
1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE id = 40’ at line 3
INSERT INTO 'Picture'
VALUES (efvr)
WHERE id = 40
该语句有什么问题,如何解决?
解决方法:
在INSERT上不能有WHERE子句.如果要更改现有行,则需要使用UPDATE.
标签:mysql-error-1064,sql,mysql 来源: https://codeday.me/bug/20191023/1915580.html