Quoted from here:
mysql> UPDATE sequence SET id=LAST_INSERT_ID(id+1);
mysql> SELECT LAST_INSERT_ID();
What's the use case of the above (what's the benefit )?
I've never used the LAST_INSERT_ID with any parameter before...
UPDATE
My question is why one wants to simulate such kind of sequence this way, when it's automatically available out of the box by auto-incremented primary key?