![](/img/trans.png)
[英]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.