Question d’entretien chez Amazon

Write SQL to Find groups having exactly three different tags.