Please see code below. Essentially I am trying to help my coworker to get the results to populate on the aggregate level. When I run the query the results are broken down per plan code. I think it has something to do with the group by statement at the bottom but I cannot figure it out. I'm a average SQL user at best so this is above my knowledge.