1 2 3 4 5
BEGIN; INSERT INTO `Friends` SELECT `ownerID`, `friendID`, `friendPerms`, 0 FROM `userfriends`; COMMIT;