SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 3) ExpressionList (children 3) Identifier number Function nth_value (alias firstValue) (children 1) ExpressionList (children 2) Function toNullable (children 1) ExpressionList (children 1) Identifier number Literal UInt64_1 Function nth_value (alias thridValue) (children 1) ExpressionList (children 2) Function toNullable (children 1) ExpressionList (children 1) Identifier number Literal UInt64_3 TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_5 ExpressionList (children 1) WindowListElement