thechazm
VBA, VB.net, C#, Java
- Local time
- Today, 18:04
- Joined
- Mar 7, 2011
- Messages
- 515
I am a little lost right now on generating a query to show an employee that has all the required courses to fill a position. Any help is greatly appreciated and I'll try to be as clear as I can on the DB schema.
[Tables involed and their makeup]
[PositionsList]
ID - AutoNumber
Position - Text
[Positions]
ID - AutoNumber
JobID - Number
Position - Number
[Position Courses]
ID - AutoNumber
PositionID - Number
CourseID - Number
[Courses]
ID - AutoNumber
Course Number - Text
Course Title - Text
[Personnel]
ID - AutoNumber
Last Name - Text
First Name - Text
[Personnel Courses]
ID - AutoNumber
PersID - Number
CourseID - Number
So to try and elaborate a little bit I need if someone from the [Personnel] table that has all the required courses from [Position Courses] that are contained in [Personnel Courses] for the position in [Positions].
I am close and I can get it to verify each one but the problem is with that I get multiple entries for every course that matches.
Like I said any guidance is greatly appreciated.
Thanks,
TheChazm
[Tables involed and their makeup]
[PositionsList]
ID - AutoNumber
Position - Text
[Positions]
ID - AutoNumber
JobID - Number
Position - Number
[Position Courses]
ID - AutoNumber
PositionID - Number
CourseID - Number
[Courses]
ID - AutoNumber
Course Number - Text
Course Title - Text
[Personnel]
ID - AutoNumber
Last Name - Text
First Name - Text
[Personnel Courses]
ID - AutoNumber
PersID - Number
CourseID - Number
So to try and elaborate a little bit I need if someone from the [Personnel] table that has all the required courses from [Position Courses] that are contained in [Personnel Courses] for the position in [Positions].
I am close and I can get it to verify each one but the problem is with that I get multiple entries for every course that matches.
Like I said any guidance is greatly appreciated.
Thanks,
TheChazm