• 0

Data normalization many-to-many relationship


Question

I have three tables:

 

Product(carrots, potatoes)

id name

 

Element(calcium, sodium)

id name content100(content in 100 grams of product)

0 calcium 20 milligrams

 

product_element

id product_id element_id

 

I cannot understand to which table the data on "Content in 100 grams of product" belongs
The product does not apply to the item either.

 

Any help please.

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now