If I run the below INSERT statement and there is an autogenerated primary key called "UserID", would it be possible to get the "UserID" of all rows that were just inserted?
INSERT INTO `myTable` (`phone`,`email`,`country`)
VALUES
("(638) 833-5496","[email protected]","Spain"),
("(293) 742-0229","[email protected]","Belgium"),
("1-265-156-4304","[email protected]","Ireland"),
("1-833-780-2553","[email protected]","France"),
("(619) 691-0656","[email protected]","Costa Rica");
Unfortunately, LAST_INSERT_ID()
only returns one.