Answers for "adding primary key constraint in sql"

SQL
6

add primary key to existing table sql

alter table Persion add primary key (persionId,Pname,PMID)
Posted by: Guest on February-08-2021
0

add primary key to database sql

CREATE TABLE Persons (
    ID int NOT NULL,
    LastName varchar(255) NOT NULL,
    FirstName varchar(255),
    Age int,
    PRIMARY KEY (ID)
);
Posted by: Guest on May-04-2021

Code answers related to "adding primary key constraint in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language