Hi all i'm currently doing some SQL homework and am looking for a push in the right direction. I need to display a list of directors that have never worked in a paramount picture movie.
select distinct directorID
from movieinfo natural join directinfo
where studio <> 'Paramount Picture';
This displays both directors who never have, as well as directors who have worked for paramount and also done another job with someone else.
I thought maybe an EXISTS sub query would help me but i ended up with the exact same result.
Would anyone know a way to check if directer EVER worked with paramount and to cross them off the list?
EDIT** DirectorID does not belong in both tables. directinfo(mvid, directorID) movieinfo(mvid, title, rating, year, length, studio)