Hi,
I got the following two queries:
INSERT INTO SOME TABLE
SELECT LAST_INSERT_ID() FROM SOME TABLE
Is it possible that before I got the last_insert_id, there is another INSERT query executed from another user, so last_insert_id isn't the one I inserted?
If it is possible, any way to solve it? Transaction maybe?
Thanks!