title: How do I design product and category tables in an Entity Relationship Diagram
body: <p>I am designing an ERD. I am considering how I would link a <code>product entity</code> to a <code>category</code>
   I have two categories:</p>
  
  <pre><code> 1. BrandCategory (i.e. Apple, Nokia etc.)
   2. TypeCategory (Smartphone, Laptop, Tablet etc.)
  </code></pre>
  
  <p>A product can belong to a <code>BrandCategory</code> and a <code>TypeCategory.</code> </p>
  
  <p>Can somoene advise me on how on how to link these up?</p>
  
  <p>Thank you. </p>