I have a report for which I need to get the number of bank accounts of each type for each team in my baseball league. I need a listing of the team, player, and account, with a subtotal footer that gives the counts of each kind of account for each team, like this:
Team | Player | Account |
---|---|---|
Yankees | Babe Ruth | Savings |
Yankees | Lou Gehrig | Other |
Yankees | Aaron Judge | Loan |
Yankees | Joe DiMaggio | Savings |
Yankees | Derek Jeter | Savings |