Sql 多表查询更新语句

Sql 多表查询更新语句

update tableA
set UID = tableB.UserID 
from tableA , tableB 
where tableA.UserName=tableB.UserName

posted @ 2011-05-04 18:51  天涯海客  阅读(628)  评论(0)    收藏  举报