添加前缀update `ecs_goods` set goods_name=concat('新中式',goods_name) where cat_id =4;

添加后缀update `ecs_goods` set goods_name=concat(goods_name,'新中式') where cat_id =4;

 

删除

update `ecs_goods`set goods_name=right(goods_name,length(goods_name)-1) where cat_id =4;

 

其中ecs_goods为表名,cat_id为分类字段名,goods_name为产品字段名

相关文章:

  • 2021-11-04
  • 2021-11-28
  • 2022-12-23
  • 2021-11-18
  • 2021-11-28
  • 2021-09-25
  • 2021-05-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-05
  • 2021-04-05
  • 2021-12-20
  • 2022-12-23
相关资源
相似解决方案