This commit is contained in:
8
9.sql
Normal file
8
9.sql
Normal 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;
|
||||
Reference in New Issue
Block a user