Skip to content
Hard/Scenario reasoning

Parent-Side Total Participation

Why does the foreign key fail to enforce the first rule?

Context

Every customer must place at least one order, and each order belongs to exactly one customer. The schema has Order.customer_id as a foreign key to Customer.

Commit to an answer

Choose one.

DB//COSMOS

A field manual for database systems: model the domain, normalize the facts, query the relations, and protect the result.

Edition 2026 · 32 chaptersTopic catalogInterview prep