Computer Science, asked by lakshaysaini5778, 1 year ago

Define foreign key constraint also write its syntax

Answers

Answered by Anonymous
0
Hey Mate

A foreign key is a key used to link two tables together. This is sometimes also called as a referencing key.

A Foreign Key is a column or a combination of columns whose values match a Primary Key in a different table.

The relationship between 2 tables matches the Primary Key in one of the tables with a Foreign Key in the second table.

If a table has a primary key defined on any field(s), then you cannot have two records having the same value of that field(s).





hope this answer helps you
please mark it as brainliest
Similar questions