select auto_increment from information_schema.`TABLES` where Table_schema='数据库名字' and table_name='表名' limit 1
其中TABLES外面是``,不是英文的单引号
select auto_increment from information_schema.`TABLES` where Table_schema='数据库名字' and table_name='表名' limit 1
其中TABLES外面是``,不是英文的单引号