Question d’entretien chez Anant Infomedia

Write query (group by ). Draw pattern.