Computer Science, asked by madhulikasingh15824, 4 months ago

Why is Primary key necessary in a table​

Answers

Answered by anshikatiwari1436
5

Answer:

Every table can have (but does not have to have) a primary key. The column or columns defined as the primary key ensure uniqueness in the table; no two rows can have the same key. The primary key of one table may also help to identify records in other tables, and be part of the second table's primary key.

Explanation:

Hope it help you

Answered by kbandna183
2

Answer:

1) the matching fields are the primary key from one table that uniquely and definitions each record in a table

2) A Foreign key is a column in one table that must match the primary key of another table

Similar questions