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","enim.curabitur@hotmail.couk","Spain"),
("(293) 742-0229","odio.semper@yahoo.net","Belgium"),
("1-265-156-4304","tincidunt.dui.augue@outlook.net","Ireland"),
("1-833-780-2553","scelerisque.scelerisque@aol.com","France"),
("(619) 691-0656","ac.risus.morbi@icloud.org","Costa Rica");
Unfortunately, LAST_INSERT_ID()
only returns one.