0
我想更新在phpMyAdmin的SQL table
,更改列的值。 我的要求是:因爲該字段的類型是Varchar
請求更新phpMyAdmin的
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
改變了它:
Update article set Id_LRU where ID_Article like 'DIEPRESTATION'
而且它得到了
Update article set Id_LRU where ID_Article='DIEPRESTATION'
它返回一個錯誤同樣的錯誤。 我應如何修正它,請。
寫在谷歌「的MySQL更新」,並且choising獲得的鏈路中的一個(例如第二個。):https://www.w3schools.com/php/php_mysql_update.asp或第三個的https:// WWW .w3schools.com/SQL/sql_update.asp – etsa