I have a table called NUMS with a single column n. And I fill values 1,2,3,4,5,null in it.
Now a query
SELECT n FROM Nums WHERE n IN (1, 2,
null is not returning, although included in IN operator
Because of the n = NULL evaluation; NULL can't equal NULL. It would need to be handled as n IS NULL (or similar appropriate syntax) to return the NULL row/record.
n = NULL
n IS NULL