I have a table like:
id name (varchar)
--------------------------
1 test
2 some
3 NULL
4 test
when I query
SELECT * FROM table WHERE name != 'some';
I get the result:
id name
--------------------------
1 test
4 test
Why it doesn't return the rows with name == NULL
?
Server Version: 5.5.31-MariaDB-1~squeeze-log - mariadb.org binary distribution (protocol version 10)
Client Version: libmysql - 5.1.66 (mysqli) Protokoll-Version: 10