想問一下99年資料庫第三大題第一小題
手邊的考古題有給答案,但是我看不懂雙重Not exists
Select Sname
From Student
Where not exists (Select *
From Teacher
Where not exists (Select *
From Take
Where Student.Sid = Take.Sid
AND Take.Tid = Teacher.Tid
AND Tname = "Harison Ford"
我不懂的點是如果這個老師有開兩門課
只有修一門課的學生不是也會被選到嗎?
--
All Comments