
July 10th, 2002, 03:03 PM
|
|
Certified Genius
|
|
Join Date: Aug 2001
Location: over there
Posts: 77

Time spent in forums: 46 m 57 sec
Reputation Power: 12
|
|
|
joining tables across mulitiple columns
If I have two tables (Members, Teams) with Teams having multiple foreign keys to the Members table how would go about selecting each team and getting the members names into the recordset as well. for example
--- Members --__----------- Teams ---------
ID_Name______ID_Member1_Member2
1__Rob_______1__1_______2
2__Tom_______2__3_______4
3__Jim
4__Dave
And I wanna return from a query...
TeamID__Member1__Member2
1_______Rob______Tom
2_______Jim_______Dave
What combinations of joins, subqueries, etc would I have to use in order to get that result??? Thanks, rob
Last edited by rob5408 : July 10th, 2002 at 03:06 PM.
|