Save up to $499! Grab all Python courses for $49 or all online courses we’ve ever launched for only $169. Only Feb 11-16. Happy Valentine's!
Introduction
ST_Equals
Relationships Between Geometries
ST_Distance and ST_Dwithin
Spatial joins practice
20. Spatial joins - exercise 2
Summary

Instruction

Nice job! Let's do one additional exercise of this kind.

Exercise

For each district, find the average number of households with a single parent per census block. Show two columns: district name and the average. Sort the results by the average in descending order.

Stuck? Here's a hint!

Use the AVG(...) function to find the average per census block.