更新
a表得1值需要更新成和b表的1值相同
[解决办法]
- SQL code
update aset a.col = b.colfrom b
[解决办法]
两表通过什么关联?
update a set a.name=b.name from b where a.id=b.id
[解决办法]
发布时间: 2012-04-19 14:36:43 作者: rapoo
更新
a表得1值需要更新成和b表的1值相同
[解决办法]
update aset a.col = b.colfrom b
[解决办法]
两表通过什么关联?
update a set a.name=b.name from b where a.id=b.id
[解决办法]