title: How to design Entity Relationship that match Relationship Model?
body: <p>Hello everyone and first of all thank you for all of those who take time to read my question and replying.</p>
  
  <p>I have a RM that I need to design a ER that match to it.</p>
  
  <p>the RM:
  A(c,j) // c is underlined
  B(b,c,d,e,h) // b,c,d,h is underlined
  C(a,g,h,i) // h is underlined
  D(c,f,g,i) // c,i is underlined</p>
  
  <p>I thought about the following ER (I am describing it as I cant really draw it here):
  Entity "A" with attributes: "c"(key), "j"
  Entity "B" with attributes: "b"(key),"d"(key), "e"
  Entity "C" with attributes: "h"(key), "a", "g"
  Entity "D" with attributes: "i"(key), "f", "g" (different from attribute of C)</p>
  
  <p>the relationships:
  A-B (many-many)
  A-D
  B-C
  C->D (many-one)</p>
  
  <p>is that correct? </p>
  
  <p>Thank you. </p>