mysql关联表之间字段同步sql语句
MySql关联表之间字段同步sql语句
update app_order_goods a,app_goods b set a.`thumb_url` = b.`thumb_url` where a.goods_id = b.id
update app_order o,app_client c set o.`group_id` = c.`group_id` where c.group_id > 0 and o.user_id = c.id;
转载注明:
感谢博主,喝杯咖啡~
感谢博主,喝杯咖啡~
还没有人发表评论