I can't get the following query to work in mySQL. From what I've read I understood that it was a valid query. It's got nothing to do with the table/column names cause all the parts work fine on their own. If this IN syntax is not supported in mySQL, is there another way to do this?
Thx.
SELECT course.grade, course.subject, quiz.id, quiz.unit, quiz.name
FROM course_student
INNER JOIN course ON (course_student.course=course.id)
INNER JOIN quiz ON (course.id=quiz.course)
WHERE course_student.student='8' AND
WHERE quiz.id NOT IN (
SELECT mark.quiz from mark);
Thx.
SELECT course.grade, course.subject, quiz.id, quiz.unit, quiz.name
FROM course_student
INNER JOIN course ON (course_student.course=course.id)
INNER JOIN quiz ON (course.id=quiz.course)
WHERE course_student.student='8' AND
WHERE quiz.id NOT IN (
SELECT mark.quiz from mark);