INSERT INTO details (idactivity,user,hours,val,date) VALUES ('981','133','0','10500','2008-07-01'),('981','184','0','2750','2008-07-01'),('981','184','0','2750','2008-07-01')
(iddetails as details table PK)
Is there a way to get the 3 new iddetails and get them to the next bulk insert query?
INSERT INTO activity (idactivity,iddetails) VALUES('981',??),('981',??),('981',??)