Single Choice Easy

QWhich type of data constraint in MySQL allows you to define custom data validation rules?

ID: #15507 Data Constraints and Integrity - MySQL 122 views
Question Info
#15507Q ID
EasyDifficulty
Data Constraints and Integrity - MySQLTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A PRIMARY KEY ✔ ✖
  • B UNIQUE ✔ ✖
  • C CHECK ✔ ✖
  • D INDEX ✔ ✖
Correct Answer

Explanation

The CHECK constraint in MySQL allows you to define custom data validation rules. It checks the value being inserted or updated against a specified condition or expression.

Share This Question

Challenge a friend or share with your study group.