new_p = schema.schemaTable("p");
withAmbiguousColumnNames = schema3.schemaTable("withAmbiguousColumnNames");
withAliases = new ColumnNamesImpl();
withAliases.addColumn("alias_r", new SimpleColumn(AnyType.INSTANCE, "r"));
scope1 = new ColumnScope(null);
scope2 = new ColumnScope(scope1);
scope2.addTable("alias_p", alias_p);
scope2.addTable("q", q1);
scope2.addTable("ambiguous",ambiguous1);
scope2.addTable("alias_q", alias_q);
scope2.addTable("ambiguous",ambiguous2);
scope3 = new ColumnScope(scope2);
scope3.addTable("q", q2);
scope3.addTable("new_p", new_p);
scope3.addTable("withAmbiguousColumnNames", withAmbiguousColumnNames);
scope3.addTable("withAliases", withAliases);
scope4 = new ColumnScope(scope3);
}