Computer Science, asked by amintrocker3744, 7 months ago


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 abhishekkrathod7
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 avneetkaur9664
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