G
Guest
I have 3 tables, Technicians, Tasks, and Procedures. Each procedure has one
or more tasks required for performance. Each task can be associated with more
than one procedure. A technician can have only one of each qual level for a
task, i.e., none, classroom trained, on-job-trained, and qualified. So, a
technician is qualified to perform a given procedure only if he is fully
qualified on all tasks associated with that procedure.
My current design has a join table between Procedures and Tasks, and a join
table between Task and Technicians, with a tblTech-Task-Join.QualLevel field
to record what qual level the tech is qualified for that task.
tblProcedures tblProc-Task-Join tblTasks tblTech-Task-Join
tblTechs
\1-many/ \many-1/ \1-many/
\many-1/
How can I design a query/subquery that, for a given procedure, returns a
list of technicians who are only fully qualified?
or more tasks required for performance. Each task can be associated with more
than one procedure. A technician can have only one of each qual level for a
task, i.e., none, classroom trained, on-job-trained, and qualified. So, a
technician is qualified to perform a given procedure only if he is fully
qualified on all tasks associated with that procedure.
My current design has a join table between Procedures and Tasks, and a join
table between Task and Technicians, with a tblTech-Task-Join.QualLevel field
to record what qual level the tech is qualified for that task.
tblProcedures tblProc-Task-Join tblTasks tblTech-Task-Join
tblTechs
\1-many/ \many-1/ \1-many/
\many-1/
How can I design a query/subquery that, for a given procedure, returns a
list of technicians who are only fully qualified?