I'm creating a database to track aircraft maintenance employee training. One significant requirement for the db is to determine who is qualified to work particular fleet types.
The basic layout so far is...
tblEmployee
EmpID (PK)
LastName
FirstName
EmpType (Analyst, Controller, Superivsor, etc.)
...other
tblTraining
TrainingID(PK) (727FAM, 767CF6, GENCF6, MD11CF6, etc.)
QualifyType (FAM, AVI, ENG, ETOPS, CAT)
tblEmpTraining
EmpID(FK)
TrainingID(FK)
EndDate
...other
tlkpFleet
Fleet(PK) (727, 747, 757, 767, A300, MD11)
Controllers must be qualified to work a particular fleet (727, 747, etc.) I need to be able to determine which controllers are qualified to work which fleets. This gets real crazy so please hang with me...
To be qualified for a particular fleet, a controller must complete 3-5 specific training types. They must always complete 1 each of FAM, AVI, and ENG. And, on some fleets they must also complete CAT and/or ETOPS.
-Some trainings count towards more than one fleet.
-All trainings only count toward one training type.
-If 2 or more trainings are for 1 type, controller only needs 1 (I.e, GENCF6 counts as ENG for either 767 or MD11)
-Not all trainings counts towards a fleet qualification.
-Other employee types (analysts, supervisors, etc.) complete training and is also tracked in tblEmpTraining.
Examples of trainings and types:
727FAM FAM
727AVI AVI
727ENG ENG
727CAT CAT
Note: controller needs all 4 to be 727 qualified)
767FAM FAM
767AVI AVI
767CF6 ENG
GENCF6 ENG (GENCF6 counts as ENG for 767 & MD11)
767CAT CAT
767ETOPS ETOPS
Note: needs 1 ea FAM, AVI, ENG, CAT, ETOPS for 767 qual)
MD11 has 4 trainings that can count as ENG, 1 of which counts also for A300, and another for 767 (see GENCF6 above).
Do I need to create another table that is basically a matrix of qualified trainings for each fleet? If yes, how do I utilize this table in determining qualified controllers? If no, what is the best approach to making that determination?
Thanks for any assistance!!!
Mike
The basic layout so far is...
tblEmployee
EmpID (PK)
LastName
FirstName
EmpType (Analyst, Controller, Superivsor, etc.)
...other
tblTraining
TrainingID(PK) (727FAM, 767CF6, GENCF6, MD11CF6, etc.)
QualifyType (FAM, AVI, ENG, ETOPS, CAT)
tblEmpTraining
EmpID(FK)
TrainingID(FK)
EndDate
...other
tlkpFleet
Fleet(PK) (727, 747, 757, 767, A300, MD11)
Controllers must be qualified to work a particular fleet (727, 747, etc.) I need to be able to determine which controllers are qualified to work which fleets. This gets real crazy so please hang with me...
To be qualified for a particular fleet, a controller must complete 3-5 specific training types. They must always complete 1 each of FAM, AVI, and ENG. And, on some fleets they must also complete CAT and/or ETOPS.
-Some trainings count towards more than one fleet.
-All trainings only count toward one training type.
-If 2 or more trainings are for 1 type, controller only needs 1 (I.e, GENCF6 counts as ENG for either 767 or MD11)
-Not all trainings counts towards a fleet qualification.
-Other employee types (analysts, supervisors, etc.) complete training and is also tracked in tblEmpTraining.
Examples of trainings and types:
727FAM FAM
727AVI AVI
727ENG ENG
727CAT CAT
Note: controller needs all 4 to be 727 qualified)
767FAM FAM
767AVI AVI
767CF6 ENG
GENCF6 ENG (GENCF6 counts as ENG for 767 & MD11)
767CAT CAT
767ETOPS ETOPS
Note: needs 1 ea FAM, AVI, ENG, CAT, ETOPS for 767 qual)
MD11 has 4 trainings that can count as ENG, 1 of which counts also for A300, and another for 767 (see GENCF6 above).
Do I need to create another table that is basically a matrix of qualified trainings for each fleet? If yes, how do I utilize this table in determining qualified controllers? If no, what is the best approach to making that determination?
Thanks for any assistance!!!
Mike