InterviewSolution
Saved Bookmarks
| 1. |
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» Correct choice is (a) gender char(1) check( gender IN (‘M’, ‘F’)), Explanation: Check constraint constrains the allowable values for a particular column. |
|