Hello guys,
How can I do this, please?
I have 3 tables: tblCases, tblLeft, tblRight. TblCases-tblLeft is one-to-many relationship (tblLeft is many). TblCases-tblRight is one-to-many relationship too (tblRight is many).
CaseID House Age
1 Red 70
2 Blue 60
3 Yellow 55
4 White 40
LeftID CaseID LDuctNo LPosition
1 1 5 A3
2 1 6 A4
3 3 3 B3
RightID CaseID RDuctNo RPosition
1 2 4 A3
2 2 5 A5
3 4 3 B2
4 1 3 A2
How can I make a query to get this:
CaseID House LductNO RductNo
1 Red 5
1 Red 6
1 Red 3
2 Blue 4
2 Blue 5
3 Yellow 3
4 White 3
Thanks a lot
How can I do this, please?
I have 3 tables: tblCases, tblLeft, tblRight. TblCases-tblLeft is one-to-many relationship (tblLeft is many). TblCases-tblRight is one-to-many relationship too (tblRight is many).
CaseID House Age
1 Red 70
2 Blue 60
3 Yellow 55
4 White 40
LeftID CaseID LDuctNo LPosition
1 1 5 A3
2 1 6 A4
3 3 3 B3
RightID CaseID RDuctNo RPosition
1 2 4 A3
2 2 5 A5
3 4 3 B2
4 1 3 A2
How can I make a query to get this:
CaseID House LductNO RductNo
1 Red 5
1 Red 6
1 Red 3
2 Blue 4
2 Blue 5
3 Yellow 3
4 White 3
Thanks a lot