Single Choice Easy

QWhich DDL statement is used to add a check constraint to a column in MySQL?

ID: #15464 DDL - Data Definition Language 121 views
Question Info
#15464Q ID
EasyDifficulty
DDL - Data Definition LanguageTopic

Choose the Best Option

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

  • A ADD CHECK
  • B CREATE CHECK
  • C CHECK CONSTRAINT
  • D ALTER CHECK
Correct Answer

Explanation

The ADD CHECK statement in MySQL is used to add a check constraint to a column in a table. It allows you to define a condition that must be satisfied by the values in the column.

Share This Question

Challenge a friend or share with your study group.