SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 4)
   ExpressionList (children 2)
    Function count (children 1)
     ExpressionList
    Identifier X
   TablesInSelectQuery (children 2)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier foo_merge
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      TableIdentifier t2
     TableJoin (children 1)
      ExpressionList (children 1)
       Identifier Val
   Function and (children 1)
    ExpressionList (children 2)
     Function equals (children 1)
      ExpressionList (children 2)
       Identifier Val
       Literal UInt64_3
     Function and (children 1)
      ExpressionList (children 2)
       Function equals (children 1)
        ExpressionList (children 2)
         Identifier Id
         Literal UInt64_3
       Function equals (children 1)
        ExpressionList (children 2)
         Identifier t2.X
         Literal UInt64_4
   ExpressionList (children 1)
    Identifier X
