What is the primary purpose of a foreign key in a relational database?
Options
- A. To encrypt data
- B. To maintain referential integrity between related tables
- C. To sort records automatically
- D. More than one of the above
- E. None of the above
Quiz Practice:
B. To maintain referential integrity between related tables