Please post your SQL statement. Please indicate the fields that you would like to aggregate.