I need to make some queries in a messy database. Some columns are either null or empty. I can make a request as follows:
select * from a where b is not null and b <> '';
But is there a shortcut for this case? (corresponds to each "non-empty" value) Something like:
select * from a where b is filled;
source share