Dear,
Maybe someone can help me with this one:
I have one table i.e. A.
A is populated with next records.
Date, Workcenter
20091204, 9
20100105, 10
20100124, 11
20100127, 12
20100131, 13
20100205, 14
and table B.
Workcenter
9
10
11
12
13
14
I want to select a date range between 20100124 and 20100130
from table A.
But I want to see besides workcenters 11 and 12 also the next workcenters:
9
10
13
14
The problem is now when I join table A and B is only get the result with records which are in table A and B (is this case only workcenter 11 and 12.
I want alo 9,10,13 and 14. The reason is that I need to divide the result with all workcenters.
Thanks for your help,
Mario
Maybe someone can help me with this one:
I have one table i.e. A.
A is populated with next records.
Date, Workcenter
20091204, 9
20100105, 10
20100124, 11
20100127, 12
20100131, 13
20100205, 14
and table B.
Workcenter
9
10
11
12
13
14
I want to select a date range between 20100124 and 20100130
from table A.
But I want to see besides workcenters 11 and 12 also the next workcenters:
9
10
13
14
The problem is now when I join table A and B is only get the result with records which are in table A and B (is this case only workcenter 11 and 12.
I want alo 9,10,13 and 14. The reason is that I need to divide the result with all workcenters.
Thanks for your help,
Mario