[英]Update MySQL table rows where and set clause same values of the column
I would like to update an MySQL Table for a few rows.我想为几行更新 MySQL 表。
update pages
set icon = Arrow
where icon = ArrowBottom;
This didn't work it keeps telling me unknown column ArrowBottom.这没有用,它一直告诉我未知列 ArrowBottom。
This is the solution for my question:这是我的问题的解决方案:
update pages
set icon = 'Arrow'
where icon = 'ArrowBottom';
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.