update A set A.COLUMN2=(select distinct(B.COLUMN2) from B where B.ID=A.ID );
将B表中符合条件的数据更新到A表中
猜你喜欢
转载自www.cnblogs.com/hanje/p/10636176.html
今日推荐
周排行