SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 3)
   ExpressionList (children 2)
    Asterisk
    Identifier e2
   TablesInSelectQuery (children 2)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier t1
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      TableIdentifier t2
     TableJoin (children 1)
      Function and (children 1)
       ExpressionList (children 3)
        Function or (alias e2) (children 1)
         ExpressionList (children 2)
          Function and (children 1)
           ExpressionList (children 2)
            Function or (children 1)
             ExpressionList (children 2)
              Function equals (children 1)
               ExpressionList (children 2)
                Identifier t1.y
                Identifier t2.y
              Function and (children 1)
               ExpressionList (children 2)
                Function isNull (children 1)
                 ExpressionList (children 1)
                  Identifier t1.y
                Function isNull (children 1)
                 ExpressionList (children 1)
                  Identifier t2.y
            Function notEquals (children 1)
             ExpressionList (children 2)
              Function COALESCE (children 1)
               ExpressionList (children 2)
                Identifier t1.x
                Literal UInt64_0
              Literal UInt64_2
          Function and (children 1)
           ExpressionList (children 2)
            Function equals (children 1)
             ExpressionList (children 2)
              Identifier t1.x
              Identifier t2.x
            Function and (children 1)
             ExpressionList (children 2)
              Function isNotNull (children 1)
               ExpressionList (children 1)
                Identifier t2.x
              Function isNotNull (children 1)
               ExpressionList (children 1)
                Identifier t1.x
        Function equals (children 1)
         ExpressionList (children 2)
          Identifier t1.x
          Literal UInt64_1
        Function equals (children 1)
         ExpressionList (children 2)
          Identifier t2.x
          Literal UInt64_1
   ExpressionList (children 1)
    OrderByElement (children 1)
     Identifier ALL
