SELECT `客户搜索词`,`客户搜索词还原`,`单词` FROM `词频_app` WHERE `客户搜索词` LIKE '%patterned%' SELECT COUNT(1) FROM `词频_app` WHERE `客户搜索词` LIKE '%patterned%' UPDATE `词频_app` SET `客户搜索词还原`=REPLACE(`客户搜索词还原`,'pattern','patterned') WHERE `客户搜索词` LIKE '%patterned%'; UPDATE `词频_app` SET `单词`=REPLACE(`单词`,'pattern','patterned') WHERE `客户搜索词` LIKE '%patterned%'; SELECT `客户搜索词`,`客户搜索词还原` FROM `搜索词_app` WHERE `客户搜索词` LIKE '%patterned%' SELECT COUNT(1) FROM `搜索词_app` WHERE `客户搜索词` LIKE '%patterned%' UPDATE `搜索词_app` SET `客户搜索词还原`=REPLACE(`客户搜索词还原`,'pattern','patterned') WHERE `客户搜索词` LIKE '%patterned%';
标签:LIKE,批量,数据库,搜索词,修改,客户,patterned%,WHERE,app From: https://www.cnblogs.com/it-wxp/p/16759387.html