REPLACE('需要替换的字段','被替换字段',替换字段)
原表
查询 SELECT REPLACE(a1, 'http', 'https') AS a1 FROM `test`
修改 UPDATE test SET a1=REPLACE(a1, 'http', 'https');
REPLACE('需要替换的字段','被替换字段',替换字段)
原表
查询 SELECT REPLACE(a1, 'http', 'https') AS a1 FROM `test`
修改 UPDATE test SET a1=REPLACE(a1, 'http', 'https');