首页 > 其他分享 >批量查询更新

批量查询更新

时间:2022-09-20 11:13:03浏览次数:60  
标签:product 批量 更新 查询 spread user dts mark id

--批量查询插入数据
INSERT into dts_user_spread_mark_back (id,product_user_id,create_time) select id,product_user_id,create_time from dts_user_spread_mark


--批量更新数据
UPDATE dts_user_spread_mark_back sm LEFT JOIN dts_user_product_account acc on sm.product_user_id = acc.id set sm.user_id = acc.user_id

标签:product,批量,更新,查询,spread,user,dts,mark,id
From: https://www.cnblogs.com/chen-msg/p/16710370.html

相关文章