LAST_INSERT_ID will return the last value assigned by Auto_increment and it is not required to specify the table name.