Scenario: A retail store maintains a database of products and categories. Each product can belong to multiple categories, and each category can have multiple products. What type of relationship would you establish between products and categories?

  • Many-to-Many
  • Many-to-One
  • One-to-Many
  • One-to-One
The relationship between products and categories in this scenario is Many-to-Many. Each product can belong to multiple categories, and each category can have multiple products. This type of relationship is common in scenarios where entities are interconnected in a non-exclusive manner.
Add your answer
Loading...

Leave a comment

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