Single Choice Easy

QWhich type of data constraint in MySQL ensures referential integrity between two tables?

ID: #15506 Data Constraints and Integrity - MySQL 129 views
Question Info
#15506Q 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

Explanation

The FOREIGN KEY constraint in MySQL ensures referential integrity between two tables. It establishes a relationship between a column in one table and the primary key in another table.

Share This Question

Challenge a friend or share with your study group.