F
freeflying
Unregistered / Unconfirmed
GUEST, unregistred user!
表为delphi自带的db表,字段结构如下:姓名,1111,2222,3333,4444,5555,销售金额张三 10 15 0 20 22.5 1890.5...现在用Query1.SQL.Add('select sum(1111),sum(2222) from '''+bm+''' where 姓名="张三"');出错:capability not supported是不是不能用数字做字段名?查询没问题,求和就出错!