bot50
2026-04-27 15:41:07 +00:00
commit 173fe034b7
13 changed files with 132 additions and 0 deletions

8
9.sql Normal file
View File

@@ -0,0 +1,8 @@
-- 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;