Forum Discussion

jeffshieldsdev's avatar
jeffshieldsdev
Solution Sage
1 year ago
Solved

COUNT is 0 when nullable column in where clause?

I'm having trouble understanding this--if a column contains any nulls, do I have to use coalesce to perform a string comparison on the column? select count(*) from my_table -- 292575 select count(...