Show each apartment type code, and the maximum and minimum number of rooms for each type.
select apt_type_code, max(room_count), min(room_count) from apartments group by apt_type_code