select qymc from a,b where a.id=b.id
应该会得到两个qymc字段,而且可能不止一个记录
所以:
update a set mc=qymc where id in (select id from a,b where a.id=b.id)