📜  如何在 sql 代码示例中自动递增

📅  最后修改于: 2022-03-11 15:04:58.134000             🧑  作者: Mango

代码示例2
CREATE TABLE Persons (
    Personid int NOT NULL AUTO_INCREMENT,
    LastName varchar(255) NOT NULL,
    FirstName varchar(255),
    Age int,
    PRIMARY KEY (Personid)
);
INSERT INTO Persons (FirstName,LastName)
VALUES ('Lars','Monsen');