Computer Science, asked by swastiksamanta27, 2 months ago

What are the difference between Primary Key, Candidate key and Foreign Key?

Answers

Answered by Harshabadboy
1

Answer:

Primary Key - is a column or group of columns in a table that uniquely identify every row in that table. Candidate Key - is a set of attributes that uniquely identify tuples in a table. Candidate Key is a super key with no repeated attributes. ... Foreign Key - is a column that creates a relationship between two tables.

Hoe it helps ❤❤

Answered by MUNNABHAIYA007
0

Explanation:

Primary Key - is a column or group of columns in a table that uniquely identify every row in that table. Candidate Key - is a set of attributes that uniquely identify tuples in a table. Candidate Key is a super key with no repeated attributes. ... Foreign Key - is a column that creates a relationship between two tables.

Similar questions