SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 3) ExpressionList (children 4) Function toTypeName (children 1) ExpressionList (children 1) Identifier js1.k Function toTypeName (children 1) ExpressionList (children 1) Identifier js2.k Function toTypeName (children 1) ExpressionList (children 1) Identifier js1.s Function toTypeName (children 1) ExpressionList (children 1) Identifier js2.s TablesInSelectQuery (children 2) TablesInSelectQueryElement (children 1) TableExpression (children 1) Subquery (alias js1) (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 2) Identifier number (alias k) Function toLowCardinality (alias s) (children 1) ExpressionList (children 1) Function toString (children 1) ExpressionList (children 1) Identifier number TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_2 TablesInSelectQueryElement (children 2) TableExpression (children 1) Subquery (alias js2) (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 2) Function toLowCardinality (alias k) (children 1) ExpressionList (children 1) Function plus (children 1) ExpressionList (children 2) Identifier number Literal UInt64_1 Function toString (alias s) (children 1) ExpressionList (children 1) Function plus (children 1) ExpressionList (children 2) Identifier number Literal UInt64_1 TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_2 TableJoin (children 1) Function equals (children 1) ExpressionList (children 2) Identifier js1.k Identifier js2.k ExpressionList (children 2) OrderByElement (children 1) Identifier js1.k OrderByElement (children 1) Identifier js2.k