SQL 更新(Update)联合(join)的用法
update a --a是别名 set a.Field1=b.Field1 --设置的字段 from TB1 a --设置别名 left join TB2 b --联合TB2表,并设置别名 on a.ID=b.ID -- where a.Field2 is null -- where的使用
方法仅供参考,请谨慎操作!
创建时间:2021.12.24 更新时间: