automated commit by check50 [check50=True]

This commit is contained in:
daviddoji committed 2026-04-27 16:45:42 +02:00
1 parent 5d5be6918b
commit 42e2067707
2 files changed
+8 -1

No files matched your search

-1
View File
@@ -3,4 +3,3 @@ SELECT d."name", e."pupils"
FROM "expenditures" AS e FROM "expenditures" AS e
JOIN "districts" AS d JOIN "districts" AS d
ON e."district_id" = d."id"; ON e."district_id" = d."id";
-- WHERE d."name" = 'Cambridge';
+8
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;