What is the purpose of a foreign key in a relational database?
Q1. What is the purpose of a foreign key in a relational database?
Answer: To establish a relationship between tables
Explanation: A foreign key links a table to another, establishing a relationship between them.