Computer Science, asked by ksandhiya962, 8 months ago

what is primary key ?how it is different from other fields in the table?​

Answers

Answered by Sevyasahasra
1

Explanation:

There can be one primary key in a table while there can be multiple unique keys in the table. The purpose of the primary key is to enforce entity integrity on the other hand the purpose of unique key is to enforce unique data. Primary key does not allow null columns whereas unique allows null columns.

Answered by armyonce
2

Answer:

There can be one primary key in a table while there can be multiple unique keys in the table. The purpose of the primary key is to enforce entity integrity on the other hand the purpose of unique key is to enforce unique data. Primary key does not allow null columns whereas unique allows null columns.

Similar questions