Hello, database is on a pet shop, heres my format on three tables that are related on the ERD our rule is assigning 3 main colors to 1 pet for identification. It is a many-to-many relationship between pet and colors.
Pet table
---------
pet_id PK
Composite table
-----------
pet_id FK
color_id FK
Color table
-----------
color_id PK
color desc
Is this right? or should I have in the composite table pet_id FK and 3 FK color_id fields that would have each a color referencing the color table? Appreciate your help.