gogozz

导航

多表关联条件update

 

A表的update  关联B表的条件。

update a set  khddh ='ceshi'  from formtable_main_291 a  left join workflow_requestbase b on  a.requestid = b.requestid where b.currentnodetype =0 and  a.xsddh = '123'

 

posted on 2023-10-12 14:26  stfzhuang  阅读(59)  评论(0编辑  收藏  举报