Que: Which among the following is the correct syntax for defining “Constraint Check” in Mysql?

a. gender char(1) check( gender IN (‘M’, ‘F’)),
b. gender char (1) check,
c. gender char (1) check ( gender ),
d. none of the mentioned
Answer: gender char(1) check( gender IN (‘M’, ‘F’)),

Leave a Comment