CREATE TABLE institution (building_id VARCHAR2)
CREATE TABLE building (name VARCHAR2, building_id VARCHAR2)

For each building, show the name of the building and the number of institutions in it.
SELECT T1.name, COUNT(*) FROM building AS T1 JOIN institution AS T2 ON T1.building_id = T2.building_id GROUP BY T1.building_id
SELECT "T1"."name", COUNT(*) FROM "building" "T1" JOIN "institution" "T2" ON "T1"."building_id" = "T2"."building_id" GROUP BY "T1"."building_id"