-
Which among the following is the correct syntax for defining “Constraint Check” in Mysql?
-
- gender char (1) check,
- gender char (1) check ( gender ),
- gender char(1) check( gender IN (‘M’, ‘F’)),
- All of above
- None of these
Correct Option: C
Check constraint constrains the allowable values for a particular column.