请求更新 phpMyadmin



我想在phpMyAdmin中更新一个SQL table,以更改列的值。 我的要求是:

Update article set Id_LRU where ID_Article='DIEPRESTATION' 

它返回一个错误:

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_Article='DIEPRESTATION'' at line 1

我使用like更改了它,因为字段的类型是Varchar

Update article set Id_LRU where ID_Article like 'DIEPRESTATION' 

它也得到了同样的错误。 请问我该如何纠正它.

你有语法错误。

Update article set Id_LRU ='YOURVALUE' where ID_Article like 'DIEPRESTATION' 

尝试上面的查询。

最新更新