Pregunta de entrevista de Wise

Count and group items using SQL advanced functions