When you do aggregation you have to include all the selected fields as grouping criteria OR use some fake function like MAX (most probably this is easier way when the output field is expression).
↧
When you do aggregation you have to include all the selected fields as grouping criteria OR use some fake function like MAX (most probably this is easier way when the output field is expression).