联表查询更新

update Table1 set a.key1 = b.key1,a.key2= 'value2'
from Table1 as a, Table2 as b
where a.key3= b.key3 and a.key4 = 'value'

posted @ 2019-10-26 17:23  巴蒂青葱  阅读(471)  评论(0编辑  收藏  举报