MCQ Single Best Answer Easy

QWhich type of data constraint in MySQL ensures that a column must have a value?

ID: #15503 Data Constraints and Integrity - MySQL 140 views
Question Info
#15503Q 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 NOT NULL
  • D DEFAULT
Correct Answer: Option C

Explanation

The NOT NULL constraint in MySQL ensures that a column must have a value. It prevents the insertion of NULL values into the specified column.

No Previous Next Question

Share This Question

Challenge a friend or share with your study group.