I want to know if there is a way to have multiple values in a single field in a MySQL database where each value is a foreign key referencing one other table.
I am designing a database with a product table and a product certification table.
I am using InnoDB and foreign key constraints.
The "product" table contains the details about specific instances of the product. One of the details contained in the product table is the column “product_certification_id”, which is a foreign key referencing an index in the two column “product_certification” table.
The product certification table contains the possible certifications that an instance of a product may have.
My problem stems from the fact that the product certifications are not mutually exclusive, so I am curious if it is possible to have multiple foreign key values in the same field referencing the same table.
Also, I am concerned about the possibility of more certifications being added in the future, so I need to design this in an easily scalable fashion in that sense.
Thank you for your thoughts.