This commit is contained in:
2
1.sql
Normal file
2
1.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- write a SQL query to find the names and cities of all public schools in Massachusetts.
|
||||
SELECT "name", "city" FROM "schools" WHERE type = "Public School";
|
||||
2
2.sql
Normal file
2
2.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- write a SQL query to find the names of districts that are no longer operational.
|
||||
SELECT "name" FROM "districts" WHERE "name" LIKE "%(non-op)";
|
||||
2
3.sql
Normal file
2
3.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- write a SQL query to find the average per-pupil expenditure. Name the column “Average District Per-Pupil Expenditure”.
|
||||
SELECT AVG("per_pupil_expenditure") AS "Average District Per-Pupil Expenditure" FROM "expenditures";
|
||||
Reference in New Issue
Block a user