replace(object, search,replace)

把object中出现search的全部替换为replace

select replace('www','w','abc') --->abcabcabc

把表table中的name字段中的 aa替换为bb

update table set name=replace(name,'aa','bb')

UPDATE `cdb_name` SET `field_name` = replace (`field_name`,'from_str','to_str')