I have set up a database to keep track of the specific ICT skills pupils use in their coursework. All was going well until I tried to use an unmatched query to find any skills an individual pupil has not used.
It keeps telling me I have ambiguous joins
tables used
pupil (1-m) coursework(1 -m) coursework skill(m - 1)skills
sql used
SELECT Coursework.CourseworkIDNumber, CourseworkSkills.Student, CourseworkSkills.SkillID, Skills.Description
FROM Skills LEFT JOIN (Coursework INNER JOIN CourseworkSkills ON Coursework.CourseworkIDNumber = CourseworkSkills.Student) ON Skills.SkillID = CourseworkSkills.SkillID
WHERE (((CourseworkSkills.SkillID) Is Null));
I thought it was going to be so simple!!
It keeps telling me I have ambiguous joins
tables used
pupil (1-m) coursework(1 -m) coursework skill(m - 1)skills
sql used
SELECT Coursework.CourseworkIDNumber, CourseworkSkills.Student, CourseworkSkills.SkillID, Skills.Description
FROM Skills LEFT JOIN (Coursework INNER JOIN CourseworkSkills ON Coursework.CourseworkIDNumber = CourseworkSkills.Student) ON Skills.SkillID = CourseworkSkills.SkillID
WHERE (((CourseworkSkills.SkillID) Is Null));
I thought it was going to be so simple!!