(Bold is table names)
I have a database containing details of establishments, which have branches. The database also stores contact details. The complication is that there is a many to many link between contacts to both branches and establishments. That is, both Establishments and Branches can have Contacts,and there must be a many to many link between these tables.
A similar example, but involving four tables in the same database concerns Enquiries/Questions. The system also stores details of Products, as well as Certification Authorities who certify Products as well as Policies, which are separate. The system can accept questions which relate to any combination of Certification Authorities, Products and Policies, so I need a many to many link between Questions and any combination of Products, Policies and Certification Authorities
My question is, what is the best way to deal with such a setup? I already have tried something which seems to work but I'd like to see what the best/correct way to do this is.
Thanks for your advice,
Eli