I have the following code to generate an example table.
create or replace table aggr(ACCT_ID NUMBER(18,0), YYYYMMDD NUMBER(18,0), value NUMBER(10, 2)); insert