mysql客户端中使用简单的SQL语句来更新名为‘desc’的longtext类型字段,报错1064

我试图在mysql客户端中使用简单的SQL语句来更新名为‘desc’的longtext类型字段,出现如下报错(配的还有图):
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for where id = 6’ at line 1

在这里插入图片描述

解决方法:

  • 使用table.fieldname语法:

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_44907926/article/details/123971467