mysql预先取自动增长主键的下一个值 对应test表,mysql可以预先取自动增长主键的下一个值,方法如下:select?auto_increment?from?information_schema.`TABLES`?where?table_name='test'???.