Scenario: You are designing an ERD for an online shopping platform. Each product can belong to multiple categories, and each category can have multiple products. What type of relationship would you represent between the "Product" and "Category" entities?

  • Many-to-Many
  • Many-to-One
  • One-to-Many
  • One-to-One
The relationship between "Product" and "Category" entities in this scenario is Many-to-Many, as each product can belong to multiple categories, and each category can have multiple products, forming a many-to-many relationship.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *