Pergunta de entrevista da empresa Robi

Database question about join and Aggregate functions.