I'm trying to join some data together from 2 tables, but on several columns. here's an example:
Source table
ID | Desc| AAAA| BBBB|
Table2 table
ID | Text| ID1 | ID2 | ID3 |
where ID1, ID2 and ID3 in Table2 are ID's from the Source table
I'd like to do a query which yields the results:
Table2.Text,
Source.Desc(ID1),
Source.AAAA(ID1),
Source.Desc(ID2),
Source.AAAA(ID2),
Source.Desc(ID3),
Source.AAAA(ID3)
I'd guess this would be a join, but i can't get the syntax right... or would I be better off with a Union?