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