The only way I know is show create table MyTable
show create table MyTable
SELECT `AUTO_INCREMENT` FROM `information_schema`.`TABLES` WHERE `TABLE_SCHEMA` = SCHEMA() AND `TABLE_NAME` = 'tbl_name';
SHOW TABLE STATUS LIKE "tablename";
the auto_increment column will display the score.
auto_increment
You can use LAST_INSERTED_ID .
LAST_INSERTED_ID