CREATE TABLE Apartment_Buildings (building_id INT, building_short_name CHAR, building_full_name VARCHAR, building_description VARCHAR, building_address VARCHAR, building_manager VARCHAR, building_phone VARCHAR)
CREATE TABLE Apartment_Bookings (apt_booking_id INT, apt_id INT, guest_id INT, booking_status_code CHAR, booking_start_date DATETIME, booking_end_date DATETIME)
CREATE TABLE Apartment_Facilities (apt_id INT, facility_code CHAR)
CREATE TABLE View_Unit_Status (apt_id INT, apt_booking_id INT, status_date DATETIME, available_yn BIT)
CREATE TABLE Guests (guest_id INT, gender_code CHAR, guest_first_name VARCHAR, guest_last_name VARCHAR, date_of_birth DATETIME)
CREATE TABLE Apartments (apt_id INT, building_id INT, apt_type_code CHAR, apt_number CHAR, bathroom_count INT, bedroom_count INT, room_count CHAR)

Give me a bar chart showing the number of buildings managed by 'Kyle' and group by apartment type codes, rank y-axis in desc order please.
SELECT apt_type_code, COUNT(apt_type_code) FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id WHERE T1.building_manager = "Kyle" GROUP BY apt_type_code ORDER BY COUNT(apt_type_code) DESC
SELECT "apt_type_code", COUNT("apt_type_code") FROM "Apartment_Buildings" AS "T1" JOIN "Apartments" AS "T2" ON "T1"."building_id" = "T2"."building_id" WHERE "Kyle" = "T1"."building_manager" GROUP BY "apt_type_code" ORDER BY COUNT("apt_type_code") DESC NULLS LAST