An attribute of one table matching the primary key of another table is called…
2023
An attribute of one table matching the primary key of another table is called as ______.
- A.
foreign key
- B.
secondary key
- C.
candidate key
- D.
More than one of the above
- E.
None of the above
Attempted by 2654 students.
Show answer & explanation
Correct answer: A
An attribute in one table that matches the primary key of another table is known as a foreign key. This creates a relationship between the two tables, allowing data to be linked across them. The foreign key ensures referential integrity by maintaining consistency between related records.