Advertisements
Advertisements
Question
Which two constraints when applied together will produce a Primary Key constraint?
Very Short Answer
Advertisements
Solution
The two constraints that together produce a Primary Key constraint are:
- NOT NULL – The attribute cannot contain a NULL value.
- UNIQUE – The attribute must contain unique values.
Therefore:
Primary Key = NOT NULL + UNIQUE
shaalaa.com
Is there an error in this question or solution?
