I have two tables - A & B
A holds names & addresses
B holds the relationships between the primary keys in table A as a composite key
Table B Fields:
date, PriKy1,PriKy2 -> 2010-06-14, AA,BB
The example states that primary key AA from Table A and BB from Table A are "together". This row should only happen once.
But if the composite keys are reversed then a new row is generated. AA, BB should equal BB,AA
Also, AA can have more than one other primary key. So AA, CC ; AA, DD
What other kind of table set up should I consider?