mysql not null auto_increment primary key code example
Example 1: mysql set id auto increment
ALTER TABLE users AUTO_INCREMENT=1001;
Example 2: increment integer in table sql
UPDATE myTable
SET ID = ID + 1
ALTER TABLE users AUTO_INCREMENT=1001;
UPDATE myTable
SET ID = ID + 1