Computer Science, asked by rs143632, 6 months ago

Differentiate between a Primary key and forigin key.​

Answers

Answered by mamtashukla97
2

Answer:

Primary key is used to identify data uniquely therefore two rows can't have the same primary key. It can't be null. On the other hand, foreign key is used to maintain relationship between two tables. Primary of a table act as forgein key in the other table.

Explanation:

answer is short but it is right

hope it's helpful to you.

Answered by MaitriTushir
1

Answer:

Primary key is used to identify data uniquely therefore two rows can't have the same primary key. It can't be null. On the other hand, foreign key is used to maintain relationship between two tables. Primary of a table act as forgein key in the other table.

Explanation:

please mark me as brainliest and give thanks

Similar questions