Created
February 28, 2015 20:17
-
-
Save jqtrde/20e0d1b59be9fc222ba8 to your computer and use it in GitHub Desktop.
This file contains 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
``` | |
SELECT * | |
FROM (SELECT the_geom FROM incidents WHERE incidents.major_category = 'Fire') as f, (SELECT geom FROM neighborhoods_wa WHERE neighborhoods_wa.name = 'Broadmoor') as n | |
WHERE ST_Within(f.the_geom, n.geom); | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment