IS NULL

IS NULLは、値がNULLであるという条件を表す。

https://www.postgresql.jp/docs/9.4/functions-comparison.html

postgresdb1=# CREATE TABLE employees (
    id INTEGER PRIMARY KEY,
    name VARCHAR(100) NOT NULL,
    birthday_str VARCHAR(20)                            
);
CREATE TABLE
postgresdb1=# INSERT INTO employees (id, name, birthday_str) VALUES
(1, '田中太郎', NULL),
(2, '佐藤花子', '1990-05-15'),
(3, '鈴木一郎', NULL);
INSERT 0 3
postgresdb1=# SELECT * FROM employees
WHERE birthday_str IS NULL;
 id |   name   | birthday_str
----+----------+--------------
  1 | 田中太郎 |
  3 | 鈴木一郎 |
(2 行)

postgresdb1=#

このように、birthday_strがNULLの人だけ取り出せた。