MySQL setze last_insert_id
SET @last_id = LAST_INSERT_ID();
Attractive Alligator
SET @last_id = LAST_INSERT_ID();
set LAST_INSERT_ID= 58 -- your last id