Which Of The Following Statement Can Be Used To Apply The #360
Which of the following statement can be used to apply the UNIQUE constraint to a column?
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 a column?
CREATE TABLE table_name ( column1 datatype UNIQUE, column2 datatype UNIQUE, ... columnn datatype UNIQUE));
CREATE TABLE table_name ( UNIQUE column1 datatype, UNIQUE column2 datatype, ... UNIQUE columnn datatype));
CREATE TABLE table_name UNIQUE ( column1 datatype, column2 datatype, ... columnn datatype));
CREATE TABLE table_name ( column1 datatype, column2 datatype, ... columnn datatype, UNIQUE (column1, column2, …,columnn));