WHERE
WHERE is a SQL idea you prove with students who failed, not with a slogan.
Keep WHERE small. Riya should finish students who failed in a few lines, not a 40-line dump.
Skip WHERE and WHERE marks = NULL shows up in the result sheet.
Use WHERE when students who failed must stay clear. If a simpler SQL step works, use that instead.
Don’t do this with WHERE — WHERE marks = NULL. Interviewers spot it in ten seconds.
After WHERE, Riya should still remember WHERE marks = NULL.
Close WHERE with — “If I skip it, students who failed goes wrong like this: WHERE marks = NULL.”
FROM students
│
▼
WHERE city = 'Pune'
│
▼
SELECT name, marksSay WHERE in one breath, then WHERE marks < 40, then WHERE marks = NULL.