Originally Posted by
jzwp11
The following table is not structured properly:
tblSkills (one to many with tblAssessment)
-TransactionID (primary key)
-AssessID (foreign key)
-Category
-Skills
You should not repeat the category again for the skill since you already define that in tblSkillList. The table should look like this:
tblSkills (one to many with tblAssessment)
-TransactionID (primary key)
-AssessID (foreign key)
-SkillsID (foreign key to tblSkillList)
To structure the above, you need more tables:
tblDepartments
-pkDeptID primary key, autonumber
-txtDepartmentName
tblJobTitles (i.e. clerk, investigator etc.)
-pkJobTitleID primary key, autonumber
-txtJobTitle
Now relate the job title to the applicable departments (assuming a department can have many job titles and a job title can occur in many departments as you indicated)
tblDepartmentJobTitles
-pkDeptJTID primary key, autonumber
-fkDeptID foreign key to tblDepartments
-fkJobTitleID foreign key to tblJobTitles
Now each job title within a department can have many mandatory skills
tblMandatorySkillsByJobDept
-pkMandatorySkillsID primary key, autonumber
-fkDeptJTID foreign key to tblDepartmentJobTitles
-fkSkillID foreign key to tblSkillList