SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 1) Function has (children 1) ExpressionList (children 2) Function array (children 1) ExpressionList (children 2) Function tuple (children 1) ExpressionList (children 2) Identifier a Identifier b Function tuple (children 1) ExpressionList (children 2) Identifier c Identifier d Function tuple (children 1) ExpressionList (children 2) Identifier b Identifier c TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Subquery (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 4) Function materialize (alias a) (children 1) ExpressionList (children 1) Literal UInt64_1 Literal UInt64_2 (alias b) Function materialize (alias c) (children 1) ExpressionList (children 1) Literal UInt64_3 Literal UInt64_4 (alias d)