create table 履歴(
Code number(2),
Val number(2));
insert into 履歴 values(10, 3);
insert into 履歴 values(10, 6);
insert into 履歴 values(20, 9);
insert into 履歴 values(20,12);
insert into 履歴 values(10,16);
insert into 履歴 values(30,20);
insert into 履歴 values(40,24);
insert into 履歴 values(40,28);
insert into 履歴 values(40,30);
insert into 履歴 values(50,35);
insert into 履歴 values(60,40);
insert into 履歴 values(50,45);
insert into 履歴 values(50,50);
insert into 履歴 values(70,52);
insert into 履歴 values(80,54);
insert into 履歴 values(80,56);
insert into 履歴 values(70,58);
insert into 履歴 values(80,60);
insert into 履歴 values(80,70);
commit;