码迷,mamicode.com
首页 > 数据库 > 详细

批量update_mysql

时间:2017-03-23 00:05:31      阅读:165      评论:0      收藏:0      [点我收藏+]

标签:update

update shop_service_category a,storecore.store_product  b
set a.out_product_id=b.out_product_id
where a.shopid = b.store_id and a.service_category_id = b.service_category_id
and a.is_deleted =0 and b.is_deleted=0;




本文出自 “11898338” 博客,谢绝转载!

批量update_mysql

标签:update

原文地址:http://11908338.blog.51cto.com/11898338/1909222

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!