Skip to content

Instantly share code, notes, and snippets.

@gledsoncruz
Created March 27, 2017 20:13
Show Gist options
  • Save gledsoncruz/519265f1fcdb45f20968120c67d6e44e to your computer and use it in GitHub Desktop.
Save gledsoncruz/519265f1fcdb45f20968120c67d6e44e to your computer and use it in GitHub Desktop.
--Quais os loteamentos que estão dentro do bairro SANTO AGOSTINHO ?
SELECT lot.nome FROM loteamentos lot, bairros b
WHERE st_within(lot.the_geom, b.the_geom) AND b.nome = 'SANTO AGOSTINHO'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment