Building SQL Queries Visually in a Graphical Query Builder
In the previous chapter, you were introduced to topological spatial queries such as distance, buffers, and proximity to characteristics of a variety of entities.
In this chapter, we will continue exploring the tools and concepts available for learning about SQL and applying this knowledge to geospatial analysis. Writing SQL queries into QGIS allows you to visualize output directly on a map. pgAdmin also allows a quick look at a snapshot of your data using Geometry Viewer but without a lot of customization.
Discovering quick and efficient tools for integrating database queries with the SQL query builder builds on the query language you are already scripting.
In this chapter, you will learn about the following topics:
- How to access the Graphical Query Builder (GQB)
- How to write complex queries in the SQL query builder
- Beginning to build advanced frameworks for our data exploration