select sum(台数) 总额数 from 表 where city="防城"
我来班门弄斧,是不是少个“ as ”?? 应该是: select sum(台数) as 总台数 from 表 where alltrim(city)="防城"