G
Guest
I have 3 tables that are joined by the field [addnr]. I want to query table
one and get a result from table 3 by going thru table 2. The problem is that
all 3 tables have the [addnr] field but values in table 1 are not found in
table 3, only in table 1 & 2. And table 2 & 3 are joined by using different
values. It's like this:
table1 table2
table3
device | addnr addnr | housenum| street|strtype addnr |
partner
84359 | 12345 <-> 12345 | 11001 | Main | St
98765 | 11001 | Main | St <->
98765 | 90045321
I figured maybe I could use [housenum] & [street] in table 2 because they
occur mulitple times to get to table 3? So I want to query device in table 1
and find out the partner in table 3. Any suggestion welcome!
one and get a result from table 3 by going thru table 2. The problem is that
all 3 tables have the [addnr] field but values in table 1 are not found in
table 3, only in table 1 & 2. And table 2 & 3 are joined by using different
values. It's like this:
table1 table2
table3
device | addnr addnr | housenum| street|strtype addnr |
partner
84359 | 12345 <-> 12345 | 11001 | Main | St
98765 | 11001 | Main | St <->
98765 | 90045321
I figured maybe I could use [housenum] & [street] in table 2 because they
occur mulitple times to get to table 3? So I want to query device in table 1
and find out the partner in table 3. Any suggestion welcome!