>select product ,; > sum(realcost) ; && no field name given > from ... ; > into array aa ; > group by 1 ; > having ( sum(realcost) > 222 ) >