Hello all,
I'm developing a parts database, and I need to store information about which parts mate together. The only way I can think of to do it is to create a linking table with two similar columns, like:
[tt]
Part1 Part2
----- -----
11478 11340
11478 85675
11478 11415
11229 15667
[/tt]
and so on. But it seems like there would be some confusion if entries like this got in there:
[tt]
11478 11340
11340 11478
[/tt]
How do I avoid duplication of mates in such a table? Or is there a better way to store such information altogether?
I'm developing a parts database, and I need to store information about which parts mate together. The only way I can think of to do it is to create a linking table with two similar columns, like:
[tt]
Part1 Part2
----- -----
11478 11340
11478 85675
11478 11415
11229 15667
[/tt]
and so on. But it seems like there would be some confusion if entries like this got in there:
[tt]
11478 11340
11340 11478
[/tt]
How do I avoid duplication of mates in such a table? Or is there a better way to store such information altogether?