9 lines
265 B
SQL
9 lines
265 B
SQL
-- write a SQL query to find the name (or names) of the school district(s) with the single least number of pupils.
|
|
-- Report only the name(s).
|
|
SELECT d."name"
|
|
FROM "expenditures" AS e
|
|
JOIN "districts" AS d
|
|
ON e."district_id" = d."id"
|
|
ORDER BY "pupils" ASC
|
|
LIMIT 1;
|