- A To enforce data integrity rules
- B To define the primary key of a table
- C To create an index for faster data retrieval
- D To specify default values for columns
- Share this MCQ
Answer:
A
Share this MCQ
The FOREIGN KEY constraint in MySQL is used to establish a relationship between two tables based on a column or a combination of columns. It ensures that the values in the foreign key column(s) match the values in the referenced table's primary key column(s).
Click me to Read more Question & Answer of Introduction to MySQL DatabasesShare this MCQ