Используйте IS NULL
select column_name
from table_name
where column_name is null;
или IS NOT NULL
select column_name
from table_name
where column_name is not null;
Здесь вы можете увидеть DEMO
Тогда, если у вас нет этого столбца в вашей таблице, вы можете использовать его так:
with cte as
(select null as users
, column_name
from table_name)
select * from cte
where users is null; -- you can replace this row with "where users = 1;"
Вот DEMO для этого примера