evanscamman
Registered User.
- Local time
- Today, 00:40
- Joined
- Feb 25, 2007
- Messages
- 274
I have a table that shows links between items in an ordering database:
SourceItem TargetItem
1000 1001
1001 1000
1001 1005
1005 1001
Item 1005 is not directly linked to item 1000.
Is it possible to return all 3 items with a query?
Some type of union query perhaps?
The link allows substitution of one item for another.
In other words:
A = B
B = C
Therefore, indirectly A = C.
Is there any way to write a query that will recognize this relationship?
Thank you,
Evan
SourceItem TargetItem
1000 1001
1001 1000
1001 1005
1005 1001
Item 1005 is not directly linked to item 1000.
Is it possible to return all 3 items with a query?
Some type of union query perhaps?
The link allows substitution of one item for another.
In other words:
A = B
B = C
Therefore, indirectly A = C.
Is there any way to write a query that will recognize this relationship?
Thank you,
Evan