SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 2)
    Function sum (children 1)
     ExpressionList (children 1)
      Identifier x
    Function sum (children 1)
     ExpressionList (children 1)
      Identifier r.x
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Subquery (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 3)
          ExpressionList (children 1)
           Asterisk
          TablesInSelectQuery (children 2)
           TablesInSelectQueryElement (children 1)
            TableExpression (children 1)
             TableIdentifier tab (alias l)
           TablesInSelectQueryElement (children 2)
            TableExpression (children 1)
             TableIdentifier tab (alias r)
            TableJoin
          Function and (children 1)
           ExpressionList (children 2)
            Function less (children 1)
             ExpressionList (children 2)
              Identifier r.x
              Literal UInt64_2
            Function less (children 1)
             ExpressionList (children 2)
              Identifier l.x
              Literal UInt64_3
