(10 points; From the Spring 1999 midterm) An E/R diagram when
converted to relations (using the mechanical construction that we
now know so well) gives rise to the following relations (before
normalization):
R(a,b,c)
S(a,d)
T(a,d,f,g)
You may assume that the same symbols refer to the same attribute and different
symbols refer to different attributes (e.g., the a in R, S,
and T are the same). Your task is to reverse-engineer the E/R diagram
from these relations; in other words, what E/R diagram could have produced these
relations?
For full credit, give two different E/R diagrams that could have
produced these (and only these) relations.