sgb: group-by like sub-areas