update A  set A.COLUMN2=(select distinct(B.COLUMN2) from B   where B.ID=A.ID );

相关文章: