Jump to content

Normalizing puzzle


mgm_03

Recommended Posts

This is my puzzle.

 

There are Companies (A-Z)

Each company offers services in a few but not all Categories (1-10)

Within each Cateogry there are also a different services each Company could provide (Cat 1 has a,b,c; Cat 2 has: a,b,c,d; Cat 3 has a,b ...etc.)

 

Example scenario:

 

Company \"M\" offers services: 1c, 2d, 5a, 5b, from Categories 1,2,5 respectively

 

Even if I eliminate the services and consider only the companies and the categories in which they do business, I still have a table that has many-to-many relationships. Is it possible to define a set of tables which have only one-to-many relations

Link to comment
https://forums.phpfreaks.com/topic/568-normalizing-puzzle/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.