automated commit by check50 [check50=True]
This commit is contained in:
2
4.sql
2
4.sql
@@ -2,7 +2,7 @@
|
||||
-- Your query should return the names of the cities and the number of public schools within them,
|
||||
-- ordered from greatest number of public schools to least. If two cities have the same number of public schools,
|
||||
-- order them alphabetically.
|
||||
SELECT "city", COUNT("name") AS "Number of schools"
|
||||
SELECT "city", COUNT(*) AS "Number of schools"
|
||||
FROM "schools"
|
||||
WHERE "type" = "Public School"
|
||||
GROUP BY "city"
|
||||
|
||||
Reference in New Issue
Block a user