newbie sql question:
how would i insert records into a table or multiple tables based on the results of another query?
select a, b, c, from mytable
insert into mytable1 (e,f,g,h,i)
values (loop.a, loop.b, loop.c, other_value1, other_value2)
sorry if its basic..