How do you find out which auto increment was assigned on the last insert? Anonymous User511509-Apr-2012mysqlmysql Updated on 24-Sep-2020
Anonymous User
09-Apr-2012SELECT LAST_INSERT_ID() will return the last value assigned by the auto_increment function. Note that you don’t have to specify the table name.