修改数据库字段名称,引用到其他表字段拼接

批量修改title

update xxx c set title=CONCAT((select catalog_name from yyy where entity_id=c.main_catalog_id) ,"源码") where sub_category in(95,96,97,101)

 

xxx,yyy为表名

点赞
  1. DealerShadow说道:
    Google Chrome Windows 10
    https://t.me/s/iGaming_live/4867

发表回复

电子邮件地址不会被公开。必填项已用 * 标注