📜  主键多个 - SQL 代码示例

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

代码示例1
CREATE TABLE Persons (
    Rollno int NOT NULL,
    FirstName varchar(30),
    LastName varchar(30) NOT NULL,
    class varhcar(20),
    Age int,
    CONSTRAINT PK_Student PRIMARY KEY (Rollno,LastName)
);