Which Of The Following Statement Can Be Used To Apply The #362
Which of the following statement can be used to apply the UNIQUE constraint to multiple columns 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 Unique Constraint - Quiz No.1.
Which of the following statement can be used to apply the UNIQUE constraint to multiple columns of an existing table?
ALTER TABLE table_name ADD CONSTRAINT UNIQUE (column1,column2,…,columnn);
ALTER TABLE table_name ADD constraint_name UNIQUE (column1, column2,…,columnn);
ALTER TABLE table_name CONSTRAINT constraint_name UNIQUE (column1,column2,…,columnn);
ALTER TABLE table_name ADD CONSTRAINT constraint_name UNIQUE (column1,column2,…,columnn);