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