EDIT: It's seemingly the term 'bridging tables' got what I need
I'm trying to insert a record in a table produ_tag
with a primary and foreign key as columns.
produ_tag
products
tags
The first column refHe
is the code of the product from products
table, the second contains the tag for the product from tags
table. The modeling software made this additional table so it can saves which product contains which tag which is necessary.
The problem is they're primary, so if I have a product with 2 tags, the record won't be inserted, as it has already the same product inserted previously.
Should I delete the primary thing for both? Or there is another way to handle this, as the modeling software rendered it that way.