mysql数据库中字段后面加一个字符串

时间:2022-09-14 15:06:01
MySQL连贯字符串不能利用加号(+),而利用 concat

比方在aa表的name字段前加字符'x',利用:

update aa set name=concat('x',name)