SQL output type question
Q. Which is the correct SQL syntax from the following to create a PRIMARY KEY constraint on existing table “ EMPLOYEE ” on " EMPID " column and currently column does not contain any value?- Published on 27 Aug 15a. Alter table EMPLOYEE Add Constraint PK - EMPID Primary Key, EMPID;
b. Update table EMPLOYEE Add Constraint PK - EMPID Primary Key (EMPID);
c. Alter table EMPLOYEE Add Constraint PK - EMPID Primary Key (EMPID);
d. Alter table EMPLOYEE Add Constraint PK - EMPID Primary Key, (EMPID);
ANSWER: Alter table EMPLOYEE Add Constraint PK - EMPID Primary Key (EMPID);