[英]how to update many fields in single mysql table with “where clause”?
[英]MySql : How to update column of table by checking for multiple fields in where clause?
我這樣嘗試
update message set status='Accepted' where tid=' ' and ltime=' ' and ldate=' ';
但是它顯示語法error
。
通過這三個字段可以唯一地標識我的行。
由於狀態是reserved
keyword
這樣嘗試
update message
set `status`='Accepted'
where tid=' ' and ltime=' ' and ldate=' ';
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.