Which Of The Following Statement Can Be Used To Apply The #382
Which of the following statement can be used to apply the column level CHECK constraint in SQL?
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 Check Constraint - Quiz No.1.
Which of the following statement can be used to apply the column level CHECK constraint in SQL?
CREATE TABLE table_name CHECK ( column1 datatype (condition), column2 datatype (condition), ... columnn datatype (condition));
CREATE TABLE table_name ( column1 datatype CHECK (condition), column2 datatype CHECK (condition), ... columnn datatype CHECK (condition));
CREATE TABLE table_name ( column1 datatype, column2 datatype, ... columnn datatype, CHECK (column1, column2) (condition));
CREATE TABLE table_name ( CHECK (column1 datatype condition), CHECK (column2 datatype condition), ... CHECK (columnn datatype condition));