SELECT Auto_increment FROM information_schema.`TABLES` WHERE Table_Schema='数据库名' AND table_name = '表名' limit 1;
转载于:https://www.cnblogs.com/feng18/p/6242718.html
SELECT Auto_increment FROM information_schema.`TABLES` WHERE Table_Schema='数据库名' AND table_name = '表名' limit 1;
转载于:https://www.cnblogs.com/feng18/p/6242718.html