I'm not sure of the right syntax to use.
select * from tlb where flag is NULL
select * from tlb where flag = NULL
Is the answer the same for oracle, sqlserver and Postgres?
Note: I reviewed http://programmers.stackexchange.com/help/on-topic and it seems ok there. I thought this question might help many others struggling with the null equality issue that I've frequently encountered in the different databases.