drop table if exists wwww;
create table wwww (
    yyyy char(4),
    mm char(2),
    v1 integer,
    v2 integer,
    v3 integer,
    v4 varchar(20),
    v5 varchar(20)
);

insert into wwww values ('2019', '01', 100, 100, 100, 'a', 'a');
insert into wwww values ('2019', '02', 200, 100, 100, 'b', 'a');
insert into wwww values ('2019', '03', 300, 100, 100, 'a', 'a');
insert into wwww values ('2019', '04', 400, 100, 400, 'b', 'a');
insert into wwww values ('2019', '05', 400, 100, 400, 'a', 'a');
insert into wwww values ('2019', '06', 600, 100, 400, 'a', 'a');
insert into wwww values ('2019', '07', 700, 200, 400, 'a', 'a');
insert into wwww values ('2019', '08', 800, 200, 300, 'a', 'a');
insert into wwww values ('2019', '09', 900, 200, 300, 'a', 'a');
insert into wwww values ('2019', '10', 100, 200, 300, 'a', 'a');
insert into wwww values ('2019', '11', 200, 200, 300, 'a', 'a');
insert into wwww values ('2019', '12', 300, 200, 300, 'a', 'a');
insert into wwww values ('2020', '01', 400, 300, 300, 'a', 'a');
insert into wwww values ('2020', '02', 500, 300, 300, 'b', 'a');
insert into wwww values ('2020', '03', 600, 300, 400, 'a', 'a');
insert into wwww values ('2020', '04', 600, 300, 400, 'a', 'a');
insert into wwww values ('2020', '05', 800, 300, 400, 'a', 'a');
insert into wwww values ('2020', '06', 900, 300, 400, 'b', 'a');
insert into wwww values ('2020', '07', 100, 400, 400, 'b', 'a');
insert into wwww values ('2020', '08', 200, 400, 400, 'a', 'a');
insert into wwww values ('2020', '09', 300, 400, 400, 'a', 'a');
insert into wwww values ('2020', '10', 400, 400, 400, 'a', 'a');
insert into wwww values ('2020', '11', 500, 400, 400, 'a', 'a');
insert into wwww values ('2020', '12', 600, 400, 400, 'a', 'a');
insert into wwww values ('2021', '01', 700, 500, 400, 'a', 'a');
insert into wwww values ('2021', '02', 800, 500, 400, 'a', 'a');
insert into wwww values ('2021', '03', 900, 500, 200, 'a', 'a');
insert into wwww values ('2021', '04', 100, 500, 200, 'b', 'a');
insert into wwww values ('2021', '05', 200, 500, 200, 'a', 'a');
insert into wwww values ('2021', '06', 300, 500, 200, 'a', 'a');
insert into wwww values ('2021', '07', 400, 600, 100, 'a', 'a');
insert into wwww values ('2021', '08', 500, 600, 100, 'b', 'a');
insert into wwww values ('2021', '09', 600, 600, 100, 'a', 'a');
insert into wwww values ('2021', '10', 700, 600, 100, 'a', 'a');
insert into wwww values ('2021', '11', 800, 500, 100, 'b', 'a');
insert into wwww values ('2021', '12', 900, 500, 100, 'a', 'a');


