update 表名 set 列=REPLACE(列,’被替换字段’,'替换字段’)
例:update ecs_article set content=REPLACE(content,’104&’,’43&’)

批量修改重量
update ecs_goods set goods_weight=1.1  where market_price > 150

插入邮件到邮件订阅列表
INSERT INTO ecs_email_list(id, email) VALUES (”, ‘ 001462-lc@163.com ‘);

UPDATE  `ecs_goods` SET  `integral` =  ’4′  WHERE  `market_price` > 200 设置购买可使用积分

UPDATE  `ecs_goods` SET  `is_shipping` =  ’1′ WHERE  `cat_id` = 289 设置免运费

select * from ecs_goods where goods_name like ‘%2010年%’ 搜索中文

相关日志