how to set auto increment in mysql without being primary key code example
Example 1: mysql set id auto increment
ALTER TABLE users AUTO_INCREMENT=1001;
Example 2: create table primary key auto increment mysql
define primary key auto increment
ALTER TABLE users AUTO_INCREMENT=1001;
define primary key auto increment