NULL values fail comparisons both with < and with >=
mysql>
mysql> CREATE TABLE mytable
-> (
-> name CHAR(20),
-> id CHAR(20)
-> );
Query OK, 0 rows affected (0.00 sec)
mysql> INSERT INTO mytable (name,id) VALUES ('Tom','198-48');
Query OK, 1 row affected (0.00 sec)
mysql> INSERT INTO mytable (name,id) VALUES ('Jack',NULL);
Query OK, 1 row affected (0.00 sec)
mysql> INSERT INTO mytable (name,id) VALUES ('Mary',NULL);
Query OK, 1 row affected (0.00 sec)
mysql> INSERT INTO mytable (name,id) VALUES ('Jane','475-83');
Query OK, 1 row affected (0.00 sec)
mysql>
mysql>
mysql> SELECT * FROM mytable WHERE id >= '200-00' OR id IS NULL;
+------+--------+
| name | id |
+------+--------+
| Jack | NULL |
| Mary | NULL |
| Jane | 475-83 |
+------+--------+
3 rows in set (0.00 sec)
mysql>
mysql> drop table mytable;
Query OK, 0 rows affected (0.00 sec)
mysql>
Related examples in the same category