What is primary key and write its types.
Answers
Answered by
0
Answer:
Difference Between Primary key & Foreign key
Primary Key Foreign Key
Helps you to uniquely identify a record in the table. It is a field in the table that is the primary key of another table.
Primary Key never accept null values. A foreign key may accept multiple null values.
Answered by
13
Primary Key - The primary key is selected from one of the candidate keys and becomes the identifying key of a table. It can uniquely identify any data row of the table.
Type of primary key: Super Key - Super Key is the superset of primary key.
Similar questions