is distinct from è definito nello standard SQL:2003 ed è un operatore null-safe per confrontare due valori.
MySQL supporta un operatore "null safe equals":<=> . Se ciò viene negato, ottieni lo stesso comportamento. (il <=> corrisponde a is not distinct from )
SELECT *
FROM inw
WHERE not id <=> 4;
SQLFiddle:https://sqlfiddle.com/#!2/0abf2a/3