optimize execution plan if group by is on clustered by column

you could use analysis as single argument