Hey, guys this is the case
Table1
Job, Task
1, 101,
1, 102
1, 103
2, 104
3, 105
Table 2
Position, Task
1, 102
1, 130
1, 131
2, 145
2, 146
Table 4 is a repository of the 3 tables
Task, Description
101, aaa
102, bbb
103, ccc
104, ddd
105, eee
130, fff
131, ggg
145, hhh
156, iii
According to user input of Job+Position, say (job=1, position=1) I want to pull out the following:
Job position task
1 1 101, aaa (no duplicate)
1 102, bbb
1 103, ccc
1 130, fff
1 131, ggg
Table1
Job, Task
1, 101,
1, 102
1, 103
2, 104
3, 105
Table 2
Position, Task
1, 102
1, 130
1, 131
2, 145
2, 146
Table 4 is a repository of the 3 tables
Task, Description
101, aaa
102, bbb
103, ccc
104, ddd
105, eee
130, fff
131, ggg
145, hhh
156, iii
According to user input of Job+Position, say (job=1, position=1) I want to pull out the following:
Job position task
1 1 101, aaa (no duplicate)
1 102, bbb
1 103, ccc
1 130, fff
1 131, ggg