automated commit by check50 [check50=True]

This commit is contained in:
daviddoji
2026-04-27 16:28:58 +02:00
parent 85559bac1b
commit ae13fc40d5

6
7.sql
View File

@@ -1,4 +1,8 @@
-- write a SQL query to find the names of schools (public or charter!) in the Cambridge school district.
-- Keep in mind that Cambridge, the city, contains a few school districts, but DESE is interested in the
-- district whose name is “Cambridge.”
SELECT "name" FROM "schools" WHERE "city" = "Cambridge";
SELECT s."name"
FROM "schools" AS s
JOIN "districts" AS d
ON s."district_id" = d."id"
WHERE d."name" = 'Cambridge';