English, asked by TbiaSamishta, 1 year ago

write the query to add the primary key constraint to EmpID column of the employee table

Answers

Answered by aqibkincsem
36

"The answer to the question, ""write the query to add the primary key constraint to EmpID column  of the employee table given"" is as following


To create a PRIMARY KEY constraint on existing table “EMPLOYEE” on ""EMPID"" column and currently column does not contain any value  is:


Alter table EMPLOYEE Add Constraint PK-EMPID Primary Key (EMPID) "

Answered by nainarahman34ab
0

Answer:

ALTER TABLE EMPLOYEE ADD PRIMARY KEY(EMPID);

Similar questions