create primary key auto increment mysql syntax code example Example: create table primary key auto increment mysql define primary key auto increment