create a table with column id which is auto generated in sql workbench code example Example: create table primary key auto increment mysql define primary key auto increment