haitao · 2006-04-02 21:03:49 · 阅读: 585 楼上回的太快了 select sum(cast(left(f4,len(f4)-2) as int)) as fa from tabcc where f3 in ('aaaa','bbbb')