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
Economy,
4 months ago
History,
4 months ago
Social Sciences,
8 months ago
English,
8 months ago
Hindi,
1 year ago
Social Sciences,
1 year ago
English,
1 year ago