Domanda di colloquio di Mastek

SQL query about group by, aggregate functions and having clause