SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 3) ExpressionList (children 1) Function sum (alias v) (children 1) ExpressionList (children 1) Identifier c1 TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Subquery (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 3) Literal UInt64_1 (alias c1) Literal Array_[\'v\'] (alias c2) Literal Array_[\'d\'] (alias d) Function arrayExists (children 1) ExpressionList (children 2) Function lambda (children 1) ExpressionList (children 2) Function tuple (children 1) ExpressionList (children 1) Identifier i Function equals (children 1) ExpressionList (children 2) Identifier d Literal Array_[\'d\'] Identifier c2