CBSE BOARD X, asked by aastha4244, 11 months ago

why primary key cannot contain the null value ??? ​

Answers

Answered by smiley12357
6

Explanation:

It should be UNIQUE because a primary key identifies rows in a table so 2 different row should not have the same key. In addition a primary key may be used a FOREIGN KEY in other tables and that's why it cannot be NULL so that the other table can fin the rows in the referenced table

Answered by hemantjnv
1

Answer:

It should be UNIQUE because a primary key identifies rows in a table so 2 different row should not have the same key. In addition a primary key may be used a FOREIGN KEY in other tables and that's why it cannot be NULL so that the other table can fin the rows in the referenced table.

Similar questions