mysql set ID auto increment
ALTER TABLE users AUTO_INCREMENT=1001;
Creare tabel cheie primară creștere automată mysql
define primary key auto increment
cum se schimbă creșterea automată în tabelul existent mysql
ALTER TABLE tbl_access ADD COLUMN `access_id` int(10) NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST