I have a table called table 1, that has Id1 as a unique index.
Then i have another table called table2, where it has two fields Id1 and Id2 (where Id2 is unique index)
There is a relation between Id1 in table 2 and Id1 in table1.
So to describe the relation, i can have different Id2 related to the same Id1.
Id1 Id2
1 1
1 2
1 3
2 4
3 5
3 6
So based on this, Cardinality is ZeroMore and RelatedTableCardinality is ExactlyOne. Also onDelete property is restricted.
However i can't decide the relationship Type. Based on Microsoft documentation, i feel that association works because of Id1 relation but also it seems composition work as well.
1. Can you please help me in explaining relationship types more and how to decide the correct one?
2. Also does putting wrong values affect how tables works?