G
Guest
Dear All,
I have 5 tables as follows:
Table 1: ID Number
Table 2:Client Name
Table 3: Task A (with fields ID #,Client Name,Date, ResultA,ErrorA)
Table 4: Task B (with fields ID #,Client Name,Date, ResultB,ErrorB)
Table 5: Task C (with fields ID #,Client Name,Date, ResultC,ErrorC)
Table 1: ID TABLE 2:Client
ID Name
1 P
2 Q
3 R
4
5
Table3 :Task A
ID Client Date ResultA ErrorA
1 P 1/1/06 500 5
1 Q 4/1/06 358 3.58
2 R 5/1/06 789 7.89
Table4 : TaskB
ID Client Date ResultB ErrorB
1 P 1/1/06 677 3.39
3 Q 3/1/06 233 1.17
1 Q 4/1/06 667 3.34
2 R 5/1/06 999 5.00
Table5 : TaskC
ID Client Date ResultC ErrorC
1 P 1/1/06 333 0.83
5 R 2/1/06 222 0.56
6 Q 3/1/06 111 0.28
I try to build a query to combine those table together (especially table 3
to table 5), with result (something like this):
Combined-Query Result
ID Client Date ResultA ErrorA ResultB ErrorB ResultC ErrorC
1 P 1/1/06 500.0 5.0 677.0 3.4 333.0 0.8
5 R 2/1/06 0.0 0.0 0.0 0.0 222.0 0.6
3 Q 3/1/06 0.0 0.0 233.0 1.2 111.0 0.3
1 Q 4/1/06 358.0 3.6 667.0 3.3 0.0 0.0
2 R 5/1/06 789.0 7.9 999.0 5.0 0.0 0.0
Would anyone help me with some solution as usual? Is there any additional
query\table needed to combined those tables together?
Many thanks for your help,
PA
I have 5 tables as follows:
Table 1: ID Number
Table 2:Client Name
Table 3: Task A (with fields ID #,Client Name,Date, ResultA,ErrorA)
Table 4: Task B (with fields ID #,Client Name,Date, ResultB,ErrorB)
Table 5: Task C (with fields ID #,Client Name,Date, ResultC,ErrorC)
Table 1: ID TABLE 2:Client
ID Name
1 P
2 Q
3 R
4
5
Table3 :Task A
ID Client Date ResultA ErrorA
1 P 1/1/06 500 5
1 Q 4/1/06 358 3.58
2 R 5/1/06 789 7.89
Table4 : TaskB
ID Client Date ResultB ErrorB
1 P 1/1/06 677 3.39
3 Q 3/1/06 233 1.17
1 Q 4/1/06 667 3.34
2 R 5/1/06 999 5.00
Table5 : TaskC
ID Client Date ResultC ErrorC
1 P 1/1/06 333 0.83
5 R 2/1/06 222 0.56
6 Q 3/1/06 111 0.28
I try to build a query to combine those table together (especially table 3
to table 5), with result (something like this):
Combined-Query Result
ID Client Date ResultA ErrorA ResultB ErrorB ResultC ErrorC
1 P 1/1/06 500.0 5.0 677.0 3.4 333.0 0.8
5 R 2/1/06 0.0 0.0 0.0 0.0 222.0 0.6
3 Q 3/1/06 0.0 0.0 233.0 1.2 111.0 0.3
1 Q 4/1/06 358.0 3.6 667.0 3.3 0.0 0.0
2 R 5/1/06 789.0 7.9 999.0 5.0 0.0 0.0
Would anyone help me with some solution as usual? Is there any additional
query\table needed to combined those tables together?
Many thanks for your help,
PA