udpate zlxx a set zlid=(select max(zlid) from zlxxzb b where a.blbh=b.blbh..)