0
点赞
收藏
分享

微信扫一扫

sql 两表更新

桑二小姐 2022-06-17 阅读 47

    

 

 

  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';

心有猛虎,细嗅蔷薇

举报

相关推荐

0 条评论