Report question

Question: SQL JOIN, GROUP BY on three tables to get totals