I'm not seeing the table structure. For example:
There are 3 owners.
John, Peter, Mike
John and Peter are regular boat owners. They have bought a boat.
Mike runs a shipyard, he makes the boats.
There are 3 boats.
Misty, Cloud 9, Sun
Misty and Cloud 9 are sold to owners John and Peter, Sun is not sold yet and remains in the shipyard.
There are 2 shipyards.
Old Yard, Best Boats Inc.
Old Yard manufactured the boats Misty and Cloud 9.
Best Boats Inc. manufactured the boat Sun.
Let's put this in a table structure:
Owners
id name
1 John
2 Peter
3 Mike
Boats
id name
1 Misty
2 Cloud 9
3 Sun
Shipyards
id name
1 Old Yard
2 Best Boats Inc.
owners-boats
ownerid shipyardid boatid
1 1 1
2 1 2
3 2 3
in text:
owners-boats
ownerid shipyardid boatid
John Old Yard Misty
Peter Old Yard Cloud 9
Mike Best Boats Inc. Sun
In this situation, I cannot tell if:
a) Mike is an owner of a shipyard;
b) A boat is sold or not.
Thanks.