通过一个表的字段,更新另一个表的字段值

来源:互联网 发布:程序员口中的专业术语 编辑:程序博客网 时间:2024/05/16 17:25

update a set a.ty2=b.ty1 from t2 a,t1 b where a.n2=b.n1

0 0