create table Table1(
FK1 number(3) primary key,
Val1 char(4));
create table Table2(
FK1 number(3),
FK3 number(3));
create table Table3(
FK3 number(3) primary key,
Val3 char(4));
insert all
into Table1(FK1,Val1) values(111,'aaaa')
into Table1(FK1,Val1) values(222,'bbbb')
into Table1(FK1,Val1) values(333,'cccc')
into Table2(FK1,FK3) values(222, 555)
into Table2(FK1,FK3) values(333, 666)
into Table2(FK1,FK3) values(444, 777)
into Table3(FK3,Val3) values(555,'dddd')
into Table3(FK3,Val3) values(888,'eeee')
into Table3(FK3,Val3) values(999,'ffff')
select 1 from dual;
commit;