mysql自增id的下一个值

SELECT AUTO_INCREMENT FROM information_schema.tables WHERE table_name='nst_t_department' AND table_schema="pcms_sykj"

原文地址:https://www.cnblogs.com/penghq/p/7909836.html