automated commit by check50 [check50=True]
This commit is contained in:
1 parent
85559bac1b
commit
ae13fc40d5
1 file changed
+5
-1
@@ -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';
|
||||
Reference in new issue
Block a user