Want to run an insert n-times, the n is defined by inserted value on other table. table 1:
create table Table1 ( id INTEGER default 1 not null