Created
August 8, 2017 12:53
-
-
Save ShawInnes/d85e67c6601c2eb01330b679e3669d52 to your computer and use it in GitHub Desktop.
Query the GNAF database
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
| select * | |
| from gnaf_201705."addresses" | |
| where "street_name" = 'ANN' | |
| and "street_type" = 'STREET' | |
| and "locality_name" = 'BRISBANE CITY' | |
| limit 10 | |
| select * | |
| from gnaf_201705."localities" | |
| where "locality_name" = 'STAFFORD' | |
| and "state" = 'QLD' | |
| select * | |
| from gnaf_201705."address_admin_boundaries" | |
| where "locality_pid" = 'QLD2717' | |
| select * | |
| from admin_bdys_201705."local_government_areas" | |
| where "lga_pid" = 'QLD21' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment