SELECT Auto_increment FROM information_schema.`TABLES` WHERE Table_Schema='数据库名' AND table_name = '表名' limit 1;

posted on 2020-10-10 00:15  谢晨锋  阅读(484)  评论(0)    收藏  举报