I have the following code:
SELECT DISTINCT StudentID
FROM Students
WHERE StudentID != ANY (SELECT StudentID FROM Voted)
It seems like it's worded correctly, but I keep getting an error
regarding the second query. Referring to the manual on page
http://dev.mysql.com/doc/mysql/en/AN...ubqueries.html, I don't
really see a difference in my wording and manual's. Any ideas what could
be wrong here?
Thanks,
Aaron
SELECT DISTINCT StudentID
FROM Students
WHERE StudentID != ANY (SELECT StudentID FROM Voted)
It seems like it's worded correctly, but I keep getting an error
regarding the second query. Referring to the manual on page
http://dev.mysql.com/doc/mysql/en/AN...ubqueries.html, I don't
really see a difference in my wording and manual's. Any ideas what could
be wrong here?
Thanks,
Aaron
Comment