CTEs and Recursive Queries in PostgreSQL

A common table expression is a named subquery you define with `WITH` and use in the main query.