mysql获取表中自增ID值 SELECT Auto_increment FROM information_schema.`TABLES` WHERE Table_Schema='数据库名字' AND table_name = '表名字' limit 1;