Question d’entretien chez UBS

how do you apply group by Claus using Java