📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Which of the following enforces a minimum cardinality of 1 in a relational table?

A. A UNIQUE constraint on the primary key
B. A NOT NULL foreign key, so every child row must reference a parent ✅
C. A CHECK constraint on the date
D. An index on the foreign key

Correct Answer: B. A NOT NULL foreign key, so every child row must reference a parent

Explanation

NOT NULL on the foreign key makes the link mandatory, implementing total participation for the child.