update table1 a
set name=(select b.name
from table1 b
where a.month=200601
and b.month=200602
and a.id=b.id)
where exits(select b.name
from table1 b
where a.month=200601
and b.month=200602
and a.id=b.id)
set name=(select b.name
from table1 b
where a.month=200601
and b.month=200602
and a.id=b.id)
where exits(select b.name
from table1 b
where a.month=200601
and b.month=200602
and a.id=b.id)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货