Files
me50/8.sql
2026-04-27 16:45:42 +02:00

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";