Hi
I have 2 tables, one table is a list of week numbers and the second table is employee details.
i want to create a query where each employee has a week number, so employee int2 has 52 weeks and employee int7 has 52 weeks.
for example
[TABLE="width: 500"]
<tbody>[TR]
[TD]Week Number[/TD]
[TD]Employee ID
[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]int2[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]int2[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]int2[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]int2[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]int2[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]int2[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]int2[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]int8[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]int8[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]int8[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]int8[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]int8[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]int8[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]int8[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]int5[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]int5[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]int5[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]int5[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]int5[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]int5[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]int5[/TD]
[/TR]
</tbody>[/TABLE]
I have 2 tables, one table is a list of week numbers and the second table is employee details.
i want to create a query where each employee has a week number, so employee int2 has 52 weeks and employee int7 has 52 weeks.
for example
[TABLE="width: 500"]
<tbody>[TR]
[TD]Week Number[/TD]
[TD]Employee ID
[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]int2[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]int2[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]int2[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]int2[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]int2[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]int2[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]int2[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]int8[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]int8[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]int8[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]int8[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]int8[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]int8[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]int8[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]int5[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]int5[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]int5[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]int5[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]int5[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]int5[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]int5[/TD]
[/TR]
</tbody>[/TABLE]