WHERE runs before you see it
The filter happens inside the database, not in your head. The database checks each row against the test and only sends the ones that pass. A table with a million rows and a WHERE that matches three sends three rows over, not a million.
The comparison operators
For numbers and text you have the usual set:
=equal,<>or!=not equal>greater,<less>=at least,<=at most
There is a trap waiting for you here: = is one equals sign for a test, not two. Writing == is a syntax error in SQL.