MCQ Single Best Answer Easy

QWhich type of data constraint in MySQL ensures that a column's value references a valid primary key value in another table?

ID: #15511 Data Constraints and Integrity - MySQL 122 views
Question Info
#15511Q 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 FOREIGN KEY
  • D INDEX
Correct Answer: Option C

Explanation

The FOREIGN KEY constraint in MySQL ensures that a column's value references a valid primary key value in another table. It establishes a relationship between two tables based on their key values.

Share This Question

Challenge a friend or share with your study group.