Question: For each building, show the name of the building and the number of institutions in it.
Schema: create table building (name varchar, building_id varchar, PRIMARY KEY (name)); create table institution (building_id varchar, PRIMARY KEY (building_id))
SQL: select t1.name, count(*) from building as t1 join institution as t2 on t1.building_id = t2.building_id group by t1.building_id