I want to insert into two tables at a time.
This needs to be done this way.
Insert single row into one table, get the auto incremented primary key and insert multiple rows into other table, using the primary key value I got from the first table as reference.
What is the best way to do this?