Nested Aggregation: Average of Totals SQL Insights | Topfolio