SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 4) ExpressionList (children 1) Function count (alias c) (children 1) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Subquery (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 3) ExpressionList (children 2) Function count (children 1) ExpressionList (children 1) Asterisk Function count (alias c) (children 1) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) Function numbers (alias n1) (children 1) ExpressionList (children 1) Literal UInt64_2 TablesInSelectQueryElement (children 2) TableExpression (children 1) Function numbers (alias n2) (children 1) ExpressionList (children 1) Literal UInt64_3 TableJoin TablesInSelectQueryElement (children 2) TableExpression (children 1) Function numbers (alias n3) (children 1) ExpressionList (children 1) Literal UInt64_4 TableJoin Function and (children 1) ExpressionList (children 3) Function equals (children 1) ExpressionList (children 2) Identifier n1.number Identifier n2.number Function equals (children 1) ExpressionList (children 2) Identifier n2.number Identifier n3.number Function equals (children 1) ExpressionList (children 2) Subquery (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 1) Function count (children 1) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_1 Literal UInt64_1 Function equals (children 1) ExpressionList (children 2) Subquery (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 1) Function count (children 1) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_2 Literal UInt64_2 Function in (children 1) ExpressionList (children 2) Identifier c Subquery (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 1) Function count (alias c) (children 1) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_1