Which Of The Following Statement Can Be Used To Apply The #369
Which of the following statement can be used to apply the PRIMARY KEY constraint to a column of an existing table?
This multiple choice question (MCQ) is related to the book/course gs gs115 Structured Query Language. It can also be found in gs gs115 SQL Constraints - SQL Primary Key - Quiz No.1.
Which of the following statement can be used to apply the PRIMARY KEY constraint to a column of an existing table?
ALTER TABLE table_name ADD column_name PRIMARY KEY;
ALTER TABLE table_name column_name ADD PRIMARY KEY;
ALTER TABLE table_name ADD PRIMARY KEY (column_name);
ALTER TABLE Persons PRIMARY KEY (ID);