InsertQuery   (children 2)
 Identifier simple_agf_any_aggregating_mt
 SelectWithUnionQuery (children 1)
  ExpressionList (children 1)
   SelectQuery (children 3)
    ExpressionList (children 5)
     Identifier a
     Function any_respect_nulls (children 1)
      ExpressionList (children 1)
       Identifier any_simple
     Function any_respect_nullsState (children 1)
      ExpressionList (children 1)
       Identifier any_agg
     Function anyLast_respect_nulls (children 1)
      ExpressionList (children 1)
       Identifier anyLast_simple
     Function anyLast_respect_nullsState (children 1)
      ExpressionList (children 1)
       Identifier anyLast_agg
    TablesInSelectQuery (children 1)
     TablesInSelectQueryElement (children 1)
      TableExpression (children 1)
       Subquery (children 1)
        SelectWithUnionQuery (children 1)
         ExpressionList (children 1)
          SelectQuery (children 1)
           ExpressionList (children 5)
            Literal UInt64_50 (alias a)
            Function CAST (alias any_simple) (children 1)
             ExpressionList (children 2)
              Literal NULL
              Literal \'Nullable(UInt64)\'
            Function CAST (alias any_agg) (children 1)
             ExpressionList (children 2)
              Literal NULL
              Literal \'Nullable(UInt64)\'
            Function CAST (alias anyLast_simple) (children 1)
             ExpressionList (children 2)
              Literal NULL
              Literal \'Nullable(UInt64)\'
            Function CAST (alias anyLast_agg) (children 1)
             ExpressionList (children 2)
              Literal NULL
              Literal \'Nullable(UInt64)\'
    ExpressionList (children 1)
     Identifier a
