Question d’entretien chez Optum

reverse an array, Group by sql