不会吧
你建个temp零食表了,用QRDBText指想零食表中去
你在程序选择insert into temp select sum(* ),aa,bb from table where X=1.
不过零食表的字段要设置为:sum(* ),aa,bb 的类型了