添加前、后缀 concat ,字符串替换 replace

1-- 添加前缀
2UPDATE `table` SET field_name = concat("前缀", field_name);
3
4-- 添加后缀
5UPDATE `table` SET field_name = concat(field_name, "后缀");
6
7-- 批量替换
8UPDATE `table` SET field_name = REPLACE(intro, "before_replace", "after_replace");