Bucar ID OF TABLE DESTINATION RELATED TO TABLE ORIGIN

0

Hello, good evening

I would like some help. I have a table 1 where I have an already defined id, and I have a table 2 that will receive the data from table 1 except the id, and will create a new id. Note: Table 2 already has other stored data. example: select name from tabale 1 (id will not)         insert into table 2 (name) creates new id I want to know the id created in table 2 and insert in table 1 as 1 column adcionnal next to the already existent id ..

    
asked by anonymous 12.04.2018 / 23:20

0 answers