SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 4)
    Function count (children 1)
     ExpressionList (children 1)
      Function ignore (children 1)
       ExpressionList (children 1)
        Asterisk
    Function sum (children 1)
     ExpressionList (children 1)
      Identifier t1.a
    Function sum (children 1)
     ExpressionList (children 1)
      Identifier t1.b
    Function sum (children 1)
     ExpressionList (children 1)
      Identifier t2.a
   TablesInSelectQuery (children 2)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Subquery (alias t1) (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 2)
          ExpressionList (children 2)
           Identifier number (alias a)
           Identifier number (alias b)
          TablesInSelectQuery (children 1)
           TablesInSelectQueryElement (children 1)
            TableExpression (children 1)
             Function numbers (children 1)
              ExpressionList (children 1)
               Literal UInt64_10000
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      Subquery (alias t2) (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 2)
          ExpressionList (children 1)
           Function plus (alias a) (children 1)
            ExpressionList (children 2)
             Identifier number
             Literal UInt64_100
          TablesInSelectQuery (children 1)
           TablesInSelectQueryElement (children 1)
            TableExpression (children 1)
             Function numbers (children 1)
              ExpressionList (children 1)
               Literal UInt64_10000
     TableJoin (children 1)
      Function and (children 1)
       ExpressionList (children 2)
        Function equals (children 1)
         ExpressionList (children 2)
          Identifier t1.a
          Identifier t2.a
        Function greater (children 1)
         ExpressionList (children 2)
          Identifier t1.b
          Literal UInt64_0
