UPDATE cf_2015_company a, cf_2015_company bSET a.cname = b.linkman, a.linkman = b.cnameWHERE a.id = b.id AND CHAR_LENGTH(a.cname)<5 AND CHAR_LENGTH(a.linkman)>5co