What is WHERE?
The part of a SQL command that says which rows it applies to. Without it, the command hits the whole table.
Also called: WHERE clause.
An analogy
A finger pointing at the line before you use the correction fluid: without the finger, the fluid covers the whole page.
Where it shows up in the course
- DML: INSERT, UPDATE, DELETE
- Queries: SELECT, NULL, and aggregation
- JOIN: combining tables