WHERE s.student_id = 9, ( ) s.student_id null, where student_id, null 9 .
where join:
SELECT *
FROM student s
LEFT JOIN grade g ON g.student_id=s.student_id AND s.student_id = 9;
NOT IN:
SELECT *
FROM student s
WHERE s.student_id = 9
AND student_id NOT IN(SELECT student_id
from grade
where student_id is not null);
user9141083