update A set A.XXX='XXXX'
from TableA  A
inner join TableB B on B.XX=A.XX
where XXXXX

05-20 06:59