mysql auto increase code example
Example: create a table with an id in mysql
CREATE TABLE DemoT (
Personid int NOT NULL AUTO_INCREMENT,
LastName varchar(111) NOT NULL,
FirstName varchar(111),
Age int,
PRIMARY KEY (Personid)
);
CREATE TABLE DemoT (
Personid int NOT NULL AUTO_INCREMENT,
LastName varchar(111) NOT NULL,
FirstName varchar(111),
Age int,
PRIMARY KEY (Personid)
);