sonfly · 2005-03-21 01:00:48 · 阅读: 403 2 update a set a.orderby = b.orderby from bgfl a, (select orderby, bgflbh from bgfl where orderby <> 0) b where substring(a.bgflbh, 1, 6) = b.bgflbh