I\'m using Postgres with this query
select
*
from Entity this_
where
(this_.ID not in (null))
Why does this give me no results? I would expe
I have had similar in problem and eventually came up with the following solution;
select * from public."Employee_11" where (COALESCE("Name",'@'),"Surname")
in (
('@','dummy')
)
It does return the records which Name column has null values. You can also use this for not in clause which will return not null records of Name;
select * from public."Employee_11" where (COALESCE("Name",'@'),"Surname")
not in (
('@','dummy')
)