I have two MySQL tables (InnoDB). I have created a users
table with "id_users" as the relationship key. Then I created a second table with a foreign key reference to "id_users" in the users
table. How can I do a MySQL Insert into the second table?
Should I use JOIN?
JOIN
is forSELECT
statements only. First insert into one table, then into anotherINSERT
query?