Files
me50/8.sql
2026-04-27 16:35:39 +02:00

7 lines
246 B
SQL

-- write a SQL query to display the names of all school districts and the number of pupils enrolled in each.
SELECT d."name", e."pupils"
FROM "expenditures" AS e
JOIN "districts" AS d
ON e."district_id" = d."id";
-- WHERE d."name" = 'Cambridge';