pub fn build_scope(statement: &Statement) -> ScopeExpand description
Build the scope tree from a parsed SQL statement.
The returned Scope is the root scope; child scopes (CTEs, derived
tables, subqueries, unions) are reachable via the corresponding fields.