Greetings. Currently the query I am using (without variables) does the necessary work, but now I need to add variables within it.
INSERT INTO tabla2 (a,b,c,d,FK_ID) SELECT a,b,c,d FROM tabla1
In table2 I have a column fK_ID, how could I add this value to the query?