Report question

Question: SQLAlchemy subquery - average of sums