Computer Science, asked by ladchirag90, 9 months ago

What is difference between a primary key and foreign key

Answers

Answered by dhruvvyas99
0

Answer:

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.

Answered by vaishnavisharma968
0

Answer:

Primary key uniquely identify a record in the table. Foreign key is a field in the table that is primary key in another table.

follow me

mark me brainliest

Similar questions