Not Equal
Not equal is <> or != . WHERE marks <> 0; MySQL accepts both. Standard SQL prefers <>. NULL <> 0 is not true — use IS NOT NULL as well if you need rows with a value that is not 0.
Trap — marks != NULL. Use IS NOT NULL.
On the example next to this theory: Not Equal: create two demo rows, then SELECT qty >= 2 ordered. Say which labels come back.
Exam tip
WHERE marks <> 40; never != NULL.