Prova detta
insert into tab2 (id_customers, value)
values ((select id from tab1 where customers='john'), 'alfa');
Missa parenteser
Hoppas det hjälper
Prova detta
insert into tab2 (id_customers, value)
values ((select id from tab1 where customers='john'), 'alfa');
Missa parenteser
Hoppas det hjälper