Consider the database table "Persons" having persons_ID as the primary key:
Consider the database table "Persons" having persons_ID as the primary key:
person_ID | Name | Age
1000 | Rajan | 40
- | Jatin | -45
1001 | Rajesh | 35
What are the constraints violated by the above table ?
Show answerHide answer
Correct answer: (C) Entity and domain integrities
Explanation
A missing person_ID breaks entity integrity, because a primary key cannot be null. An age of −45 is outside the valid domain, so domain integrity is also broken.