From the docs
Importantpoj
If you insert multiple rows using a single INSERT statement, LAST_INSERT_ID() returns the value generated for the first inserted row only. The reason for this is to make it possible to reproduce easily the same INSERT statement against some other server.
In reply to Re: SELECT LAST_INSERT_ID does not work
by poj
in thread SELECT LAST_INSERT_ID does not work
by Vagabundo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |