Binary vs. Ternary Relationships (Contd.)
The key constraints allow us to combine Purchaser with Policies and Beneficiary with Dependents.
Participation constraints lead to NOT NULL constraints.
What if Policies is a weak entity set?
FOREIGN KEY (ssn) REFERENCES Employees,
CREATE TABLE Dependents (
PRIMARY KEY (pname, policyid).
FOREIGN KEY (policyid) REFERENCES Policies,