Files
me50/8.sql

6 lines
213 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";