Usa un insert ... select
interrogare e inserire i valori noti in select
:
insert into table1
select 'A string', 5, idTable2
from table2
where ...
Usa un insert ... select
interrogare e inserire i valori noti in select
:
insert into table1
select 'A string', 5, idTable2
from table2
where ...