①concat在原有的基础上追加内容html
sql 语句:update 表名 set title=concat( title, '123') where id=1;sql
结果 id titlepost
1 abcurl
更新后 1 abc123htm
②replace 替换原有字段内容里的值 blog
sql 语句:update 表名 set title=replace( title, 'abc', 'cdef') where id=1;get
结果 id titleit
1 abcgggclass
更新后 1 cdefggg基础