State the relationship and different between a primary and foreign key
Answers
Answered by
4
A primary is a set of attributes/a candidate key that distinctly identifies a record in a relation. However, a foreign key in a table refers to the primary key of another table.
No primary key attributes can contain NULL values whereas, a foreign key attribute can accept NULL value.
No primary key attributes can contain NULL values whereas, a foreign key attribute can accept NULL value.
Similar questions