SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 3) ExpressionList (children 2) QualifiedAsterisk (children 1) Identifier t1 QualifiedAsterisk (children 1) Identifier t2 TablesInSelectQuery (children 2) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier t1 TablesInSelectQueryElement (children 2) TableExpression (children 1) TableIdentifier t2 TableJoin (children 1) Function and (children 1) ExpressionList (children 2) Function equals (children 1) ExpressionList (children 2) Identifier t1.x Identifier t2.x Function equals (children 1) ExpressionList (children 2) Function toUInt32 (children 1) ExpressionList (children 1) Function intDiv (children 1) ExpressionList (children 2) Identifier t1.y Literal UInt64_10 Identifier t2.x ExpressionList (children 2) OrderByElement (children 1) Identifier x OrderByElement (children 1) Identifier t2.y