What is the purpose of the FOREIGN KEY constraint in a database table?
Q1. What is the purpose of the FOREIGN KEY constraint in a database table?
Answer: To establish a relationship between tables
Explanation: The FOREIGN KEY constraint establishes a relationship between tables, ensuring that data in one table is consistent with data in another table.