update a set a.价格 = b.价格
from table1 a
join table2 b on a.编号 = b.编号
join (select 编号,min(价格) as 价格 from table1 group by 编号) c
on a.编号 = c.编号 and a.价格 = c.价格