Which guarantee does a PRIMARY KEY constraint give?
-
A
Physical sorting of the table rows
-
B
A default value for new rows
-
C
Uniqueness with no NULL values
Correct answer
-
D
Uniqueness while allowing NULLs
Correct answer
C. Uniqueness with no NULL values
17 views
Explanation
A primary key is both unique and NOT NULL, and it identifies each row of the table.
Reference
Asked in: NTS, PPSC IT, Interviews
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ