sql 两表更新
时间:2017-08-10 12:28:07
收藏:0
阅读:209
UPDATE sale_origin_line set state=‘cancel‘ from sale_origin p,sale_origin_line q
where p.id=q.order_id and p.company_id=‘3‘ and p.date<‘2017-08-01‘;
原文:http://www.cnblogs.com/1314520xh/p/7338592.html
评论(0)