I have a query with the following syntax to find students that haven't
voted:
SELECT * FROM Students
WHERE Students.Studen tID != Voted.StudentID
The thing is, the results I'm getting are basically the same as if has
just used 'SELECT * FROM Students' alone. The StudentID list of 'Voted'
is shorter than that of 'Students', as some students haven't voted yet.
Anyone know what I'm wording wrong here?
Thanks,
Aaron
voted:
SELECT * FROM Students
WHERE Students.Studen tID != Voted.StudentID
The thing is, the results I'm getting are basically the same as if has
just used 'SELECT * FROM Students' alone. The StudentID list of 'Voted'
is shorter than that of 'Students', as some students haven't voted yet.
Anyone know what I'm wording wrong here?
Thanks,
Aaron
Comment