Find the maximum and average capacity among rooms in each building.
return building ;return rooms in each #1 ;return capacities of  #2 ;return maximum #3 ;return average #3 ;return #4 ,   #5
['select', 'project', 'project', 'aggregate', 'aggregate', 'union']