Groupby returning multiple entries

@gajanan this syntax should be supported.

@MichelDiz or @matthewmcneely any help with group by? Not much experience with this part of DQL