获取当前表自增的最大值

SHOW TABLE STATUS where name='tablename'

原文地址:https://www.cnblogs.com/a9999/p/8856126.html