日期:2014-05-18 浏览次数:20508 次
with aa as( select row_number()over (order by a1)na,* from a) , bb as( select row_number()over (order by b1)nb,* from b) update bb set b1=a1 from bb,aa where na=nb