Hi, Im having trouble with a query. In an employee database im working on. There are two tables im working with:
tblSkillPositionRequiredSkill
fldPositionID fldSkillID
1 24
1 25
2 24
2 40
2 41
This table shows what skills are needed for a particular position. eg for position 1 skills 24 and 25 are required.
The other table is tblSkillEmployee
fldEmployeeID fldSkillID
4 24
5 39
6 24
6 25
7 20
9 24
9 25
This table shows what employees have what skills.
What im trying to do is create a query to show all employees who have all the required skills for
a selected position. So for the example if the parameter for position was 1 I would get Employees 6 and 9. As they have the all of skills required for position 1.
I can't seem to get my head around how to do this. At first I thought it was going to be easy!
Any advice would be greatly appreciated.
Thanks
Justin
tblSkillPositionRequiredSkill
fldPositionID fldSkillID
1 24
1 25
2 24
2 40
2 41
This table shows what skills are needed for a particular position. eg for position 1 skills 24 and 25 are required.
The other table is tblSkillEmployee
fldEmployeeID fldSkillID
4 24
5 39
6 24
6 25
7 20
9 24
9 25
This table shows what employees have what skills.
What im trying to do is create a query to show all employees who have all the required skills for
a selected position. So for the example if the parameter for position was 1 I would get Employees 6 and 9. As they have the all of skills required for position 1.
I can't seem to get my head around how to do this. At first I thought it was going to be easy!
Any advice would be greatly appreciated.
Thanks
Justin