SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 4) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier table1 (alias t1) TablesInSelectQueryElement (children 2) TableExpression (children 1) TableIdentifier table2 (alias t2) TableJoin (children 1) Function equals (children 1) ExpressionList (children 2) Identifier t1_a Identifier t2_a Function and (children 1) ExpressionList (children 2) Function greater (children 1) ExpressionList (children 2) Identifier table1.a (alias t1_a) Literal UInt64_4 Function greater (children 1) ExpressionList (children 2) Identifier table2.a (alias t2_a) Literal UInt64_2 ExpressionList (children 1) OrderByElement (children 1) Identifier all