What is Foreign key? How you can establish a link between Primary and Foreign key
explain with the help of an example
Answers
Answered by
3
Answer:
foreign key is a set of attributes subject to a certain kind of inclusion dependency constraints, specifically a constraint that the tuples consisting of the foreign key attributes in one relation, R, must also exist in some other (not necessarily distinct) relation, S, and furthermore that those attributes must also be a candidate key in S.
Answered by
3
Answer:
In a foreign key reference, a link is created between two tables when the column or columns that hold the primary key value for one table are referenced by the column or columns in another table. This column becomes a foreign key in the second table. For example, the Sales
Explanation:
hope it helps you please thank my answer........
Similar questions
English,
3 months ago
Social Sciences,
3 months ago
Geography,
3 months ago
Social Sciences,
7 months ago
English,
7 months ago
Hindi,
11 months ago
Social Sciences,
11 months ago
English,
11 months ago