UPDATE tbl1 a SET(a.col1,a.col2)=(SELECT b.col1,b.col2 FROM tbl2 b WHERE a.key=b.key) WHERE a.key in(select b.key from tbl2 b) 相关文章: