Show each apartment type code, and the maximum and minimum number of rooms for each type.
return apartment type codes ;return rooms of #1 ;return number of  #2 for each #1 ;return maximum of #3 ;return minimum of #3 ;return #1 ,  #4 ,   #5
['select', 'project', 'group', 'aggregate', 'aggregate', 'union']