CreateQuery group_uniq_arr_int (children 3)
 Identifier group_uniq_arr_int
 Storage definition (children 1)
  Function Memory
 SelectWithUnionQuery (children 1)
  ExpressionList (children 1)
   SelectQuery (children 2)
    ExpressionList (children 2)
     Identifier g (alias id)
     Function if (alias v) (children 1)
      ExpressionList (children 3)
       Function equals (children 1)
        ExpressionList (children 2)
         Identifier c
         Literal UInt64_0
       Function array (children 1)
        ExpressionList (children 1)
         Identifier v
       Function if (children 1)
        ExpressionList (children 3)
         Function equals (children 1)
          ExpressionList (children 2)
           Identifier c
           Literal UInt64_1
         Function emptyArrayInt64 (children 1)
          ExpressionList
         Function array (children 1)
          ExpressionList (children 2)
           Identifier v
           Identifier v
    TablesInSelectQuery (children 1)
     TablesInSelectQueryElement (children 1)
      TableExpression (children 1)
       Subquery (children 1)
        SelectWithUnionQuery (children 1)
         ExpressionList (children 1)
          SelectQuery (children 4)
           ExpressionList (children 3)
            Function intDiv (alias v) (children 1)
             ExpressionList (children 2)
              Function modulo (children 1)
               ExpressionList (children 2)
                Identifier number
                Literal UInt64_1000000
              Literal UInt64_100
            Function intDiv (alias g) (children 1)
             ExpressionList (children 2)
              Function modulo (children 1)
               ExpressionList (children 2)
                Identifier number
                Literal UInt64_100
              Literal UInt64_10
            Function modulo (alias c) (children 1)
             ExpressionList (children 2)
              Identifier number
              Literal UInt64_10
           TablesInSelectQuery (children 1)
            TablesInSelectQueryElement (children 1)
             TableExpression (children 1)
              TableIdentifier system.numbers
           Function less (children 1)
            ExpressionList (children 2)
             Identifier c
             Literal UInt64_3
           Literal UInt64_10000000
