I have a table products and table sizes. Each product can have multiple sizes. How can I design my database in order to not have repeated entries of the same product?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The typical approach to a many-many relationship is to have a mapping table called Product_Size that contains the Primary Keys of each table.