Question : mysql set last_insert_id
Answered by : attractive-alligator-ojoh51vfza1a
SET @last_id = LAST_INSERT_ID();
Source : | Last Update : Wed, 09 Sep 20
Question : mysql get last insert id
Answered by : arjun-nurdin
SELECT MAX(id) AS last_id FROM users
-- last_id --
-- 33 --
Source : | Last Update : Tue, 20 Jul 21
Question : mysql update LAST_INSERT_ID()
Answered by : ricardo-alexandre-zanelati
set LAST_INSERT_ID= 58 -- your last id
Source : | Last Update : Thu, 07 Oct 21