两表更新(用一个表更新另一个表)的SQL语句
用一个表中的字段去更新另外一个表中的字段
update formtable_main_251 set jsyhtgs = (select field11 from cus_fielddata where formtable_main_251.jsy = cus_fielddata.id) where exists (select 1 from cus_fielddata where formtable_main_251.jsy = cus_fielddata.id)
THE END
0
二维码
打赏
海报
![](http://www.chillifish.cn/wp-content/uploads/2018/03/WeiXin_Shoukuan_G.png)
![](http://www.chillifish.cn/wp-content/uploads/2018/03/ZhiFuBao_Shoukuan_G.png)
两表更新(用一个表更新另一个表)的SQL语句
用一个表中的字段去更新另外一个表中的字段
update formtable_main_251 set jsyhtgs = (select field11 from cus_fielddata where formtable_main_251.jsy = c……
![](http://www.chillifish.cn/wp-content/uploads/2018/03/logo_G.png)
共有 0 条评论