6.6

Consider the representation of the ternary relationship of Figure 6.29a using the binary relationships illustrated in Figure 6.29b (attributes not shown).

  1. Show a simple instance of E,A,B,C,RA,RB, and RC that cannot correspond to any instance of A, B, C, and R.

  2. Modify the E-R diagram of Figure 6.29b to introduce constraints that will guarantee that any instance of E,A,B,C,RA,RB, and RC that satisfies the constraints will correspond to an instance of A, B, C, and R.

  3. Modify the preceding translation to handle total participation constraints on the ternary relationship.


  1. Let E={e1,e2}, A={a1,a2}, B={b1}, C={c1}, RA={(e1,a1),(e2,a2)}, RB={(e1,b1)}, RC={(e1,c1)}. We see that because of the tuple (e2,a2), no instance of A,B,C, and R exists that correspond to E,RA,RB, and RC

  2. See Figure 6.105. The idea is to introduce total participation constraints between E and the relationships RA, RB, RC so that every tuple in E has a relationship with A,B, and C.

  1. Suppose A totally participates in the relationship R, then introduce a total participation constraint between A and RA, and similarly for B and C.