CREATE TABLE driver (driver_id DECIMAL, name TEXT, party TEXT, home_city TEXT, age DECIMAL)
CREATE TABLE school (school_id DECIMAL, grade TEXT, school TEXT, location TEXT, type TEXT)
CREATE TABLE school_bus (school_id DECIMAL, driver_id DECIMAL, years_working DECIMAL, if_full_time others)

Show the type of school and the number of buses for each type.
SELECT T2.type, COUNT(*) FROM school_bus AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id GROUP BY T2.type
SELECT "T2"."type", COUNT(*) FROM "school_bus" AS "T1" JOIN "school" AS "T2" ON "T1"."school_id" = "T2"."school_id" GROUP BY "T2"."type"