Advertisement
rodolpheg

Untitled

Feb 25th, 2020
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. SELECT avg(montreal_postgis.rev)::Integer AS avg_rev, quartier_socio.q_socio, quartier_socio.geom FROM montreal_postgis JOIN quartier_socio ON ST_Intersects(montreal_postgis.geom, quartier_socio.geom) GROUP BY quartier_socio.q_socio, quartier_socio.geom Order By avg_rev desc;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement