Created
March 28, 2017 14:06
-
-
Save gledsoncruz/a7c2eba4b01382f85a9470c23028f70e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Relacione todos os lotes que estão à 300 metros da Escola Municipal Espírito Santo. | |
SELECT l.insc_base FROM lotes l, educacao e | |
WHERE st_dwithin(e.the_geom, l.the_geom, 300) AND e.nome = 'E.M. Espirito Santo' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment