georgesOne
Technical User
Hi,
I have a formulation db with two tables
Table1
ID Compound Property etc
1 A Yellow
2 B Blue
3 C White etc
and
Table2
ID Compound1 Compound2 etc
1 A B
2 B
3 C A etc
How do I get the following table
ID Compound1 Property1 Compound2 Property2 etc
1 A Yellow B Blue
2 B Blue
3 C White A Yellow etc
My actual table2 has six Compound(i) fields and and must contain at least Compound1 (but does not need to have Compound2, etc).
I have tried join and union queries, but somehow I cannot get the result.
Thanks for any tip, georges
I have a formulation db with two tables
Table1
ID Compound Property etc
1 A Yellow
2 B Blue
3 C White etc
and
Table2
ID Compound1 Compound2 etc
1 A B
2 B
3 C A etc
How do I get the following table
ID Compound1 Property1 Compound2 Property2 etc
1 A Yellow B Blue
2 B Blue
3 C White A Yellow etc
My actual table2 has six Compound(i) fields and and must contain at least Compound1 (but does not need to have Compound2, etc).
I have tried join and union queries, but somehow I cannot get the result.
Thanks for any tip, georges