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