Event Table
TeamName Sport Person
A Golf John
A Golf Mary
A Golf Jim
B Golf Dick
B PingPong Dick
B PingPong Jane
C Golf Joe
C PingPong Bob
D Golf Tom
D Golf Trudy
Sports
TeamName Sport
A Golf
B Golf
B PingPong
C Golf
C PingPong
D Golf
People
Team Person
A John
A Mary
A Jim
B Dick
B Jane
C Joe
C Bob
D Tom
In this case between the time the teams sign up for an event and now Trudy is no longer on team D. So I want Trudy the event and the team returned.>>combined >>id AssemblyID PartsId >>1 1 1 >>1 1 2 >>1 1 3 >>2 1 1 >>2 2 1 >>2 2 2 >>3 1 1 >>3 2 1 >>4 1 1 >>4 1 2 >> >>ParentOne >>id AssemblyID >>1 1 >>2 1 >>2 2 >>3 1 >>3 2 >>4 1 >> >> >>ParentTwo >>id PartsId >>1 1 >>1 2 >>1 3 >>2 1 >>2 2 >>3 1 >>3 2 >>4 1 >> >> >>Desired result >>id AssemblyID PartsId >>4 1 2 >>>>Parent may have been a bad choice of words.
>id AssemblyID PartsId >4 1 2 >>in the Combined table you have
>id AssemblyID PartsId >1 1 2 >>Why not include it in the result?