after searching up and down, reading all the possible articles and tutorials, I understood the basics of the concept, but still I canβt do this, and like so many others, as I see it.
Someone can send a 100% practical and fictitious proof of the manual on creating and most basic use of MySQL for many relationships, I am sure that many of them will benefit from it.
I have a table in which there are several elements, for example I1, I2, I3 ...
I have another table with a number of properties, for example P1, P2, P3 ...
For each of the elements, each of the properties can be false or true, for example
I1 has properties P2 and P3 I2 has properties P1, P2 and P3 I3 has properties P1 ...
So how do you go about building relationships? (please provide a code if possible)
And once created, like
- insert properties for some element I
- read which properties apply to some existing element I
Thanks in advance
Ramon source
share