From 057280fe20d9a34714ba6af37163b4b050c1ff0d Mon Sep 17 00:00:00 2001 From: daviddoji Date: Mon, 27 Apr 2026 16:56:07 +0200 Subject: [PATCH] automated commit by check50 [check50=True] --- 10.sql | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/10.sql b/10.sql index e69de29..139892e 100644 --- a/10.sql +++ b/10.sql @@ -0,0 +1,8 @@ +-- write a SQL query to find the 10 public school districts with the highest per-pupil expenditures. +-- Your query should return the names of the districts and the per-pupil expenditure for each. +SELECT d."name", e."per_pupil_expenditure" +FROM "expenditures" AS e +JOIN "districts" AS d +ON e."district_id" = d."id" +ORDER BY "per_pupil_expenditure" DESC +LIMIT 10;