Break a one-line query onto readable lines.
Keyword-driven and dialect-agnostic: it lays out clauses and joins without trying to understand your schema. Strings and quoted identifiers are left untouched.