We are asked to find the years when the noble prize in medicine was not given. I would like to know why one query does not work while the other one does:
Attempted Solution:
SELECT DISTINCT yr
FROM nobel
WHERE subject <> 'Medicine'
and why this one seems to work
Working Solution:
SELECT DISTINCT yr
FROM nobel
WHERE yr NOT IN (
SELECT DISTINCT yr
FROM nobel
WHERE subject = 'Medicine'
)