Database: apartment_rentals
Question: Return each apartment type code with the number of apartments having that apartment type, in ascending order of the number of apartments.
SQL:
SELECT apt_type_code ,  COUNT(*) FROM Apartments GROUP BY apt_type_code ORDER BY COUNT(*) ASC