InsertQuery   (children 2)
 Identifier summing_merge_tree_aggregate_function
 SelectWithUnionQuery (children 1)
  ExpressionList (children 1)
   SelectQuery (children 3)
    ExpressionList (children 3)
     Function today (alias d) (children 1)
      ExpressionList
     Function plus (alias k) (children 1)
      ExpressionList (children 2)
       Identifier number
       Literal UInt64_5000
     Function uniqState (children 1)
      ExpressionList (children 1)
       Function toUInt64 (children 1)
        ExpressionList (children 1)
         Function modulo (children 1)
          ExpressionList (children 2)
           Identifier number
           Literal UInt64_500
    TablesInSelectQuery (children 1)
     TablesInSelectQueryElement (children 1)
      TableExpression (children 1)
       Function numbers (children 1)
        ExpressionList (children 1)
         Literal UInt64_5000
    ExpressionList (children 2)
     Identifier d
     Identifier k
