Update语句from使用方式

update a.col1 = b.col1 from table1 a,table2 b where a.col2 = b.col2;

当然也可以使用连接的方式,举例

update a.col1 = b.col1 from table1 a inner join table2 b on a.col2 = b.col2;

posted @ 2015-05-21 09:47  王伟_玉逸轩  阅读(363)  评论(0编辑  收藏  举报