您现在的位置是:首页 >

sql关联两张表 Oracle 多表关联更新多个字段 带条件

火烧 2022-11-17 07:58:33 1132
Oracle 多表关联更新多个字段 带条件   u date tude t A   et A ame a dq =   elect B ame dq  from ew tude t B  where

Oracle 多表关联更新多个字段 带条件  

  update student A

  set (A name a dq) =

  (select B bname b bdq

  from newstudent B

  where B Bid = A id

  and A dq =

  )

  where exists (select

  from newstudent B

sql关联两张表 Oracle 多表关联更新多个字段 带条件

  where B Bid = A id

  and A dq =

  );

lishixinzhi/Article/program/Oracle/201311/18385  
永远跟党走
  • 如果你觉得本站很棒,可以通过扫码支付打赏哦!

    • 微信收款码
    • 支付宝收款码