Hello dear friends!
I have the following issue designing the relationships in my db.
N:N relationship
I have a list of companies and a list of tags.
Each COMPANY can have multiple TAGS, the same TAG can be assigned to multiple COMPANIES.
1:N relationship
One TAG can have multiple SUBTAGS.
Now, COMPANIES and SUBTAGS relationships:
One COMPANY can have 0-to-many SUBTAGS within one TAG.
How do I design this relationship? Companies, Tags, and Subtags are one table each.
Thank you very much in advance.