Mastering SQL Joins with Aggregates: Combining GROUP BY, COUNT, and SUM Across Related Tables | Wicked Smart Data