SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 3) ExpressionList (children 4) Identifier t1.id (alias t1_id) Identifier t2.id (alias t2_id) Identifier t1._sample_factor (alias t1_sample_factor) Identifier t2._sample_factor (alias t2_sample_factor) TablesInSelectQuery (children 2) TablesInSelectQueryElement (children 1) TableExpression (children 2) TableIdentifier test_table_join_1 (alias t1) SampleRatio 1 / 2 TablesInSelectQueryElement (children 2) TableExpression (children 2) TableIdentifier test_table_join_2 (alias t2) SampleRatio 1 / 2 TableJoin (children 1) Function equals (children 1) ExpressionList (children 2) Identifier t1.id Identifier t2.id ExpressionList (children 1) OrderByElement (children 1) Identifier ALL