MySQL database self-increment primary key id custom serial number

Just run the following statement:

ALTER TABLE `table name` AUTO_INCREMENT = number;

Guess you like

Origin www.cnblogs.com/ljl5921/p/12710247.html